Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
cd005a1d
Commit
cd005a1d
authored
Apr 05, 2011
by
Sebastian Eichelbaum
Browse files
[CHANGE] - not using global marging and spacing for group boxes. Only for its contents.
parent
eff5451a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/gui/qt4/controlPanel/WQtPropertyGroupWidget.cpp
src/gui/qt4/controlPanel/WQtPropertyGroupWidget.cpp
+2
-3
No files found.
src/gui/qt4/controlPanel/WQtPropertyGroupWidget.cpp
View file @
cd005a1d
...
...
@@ -208,10 +208,9 @@ void WQtPropertyGroupWidget::addGroup( WQtPropertyGroupWidget* widget, bool asSc
// encapsulate it into an collapsable widget
QFrame
*
box
=
new
QFrame
(
this
);
box
->
setFrameShape
(
QFrame
::
StyledPanel
);
box
->
setFrameShadow
(
QFrame
::
Raised
);
QGridLayout
*
boxLayout
=
new
QGridLayout
(
box
);
boxLayout
->
setMargin
(
WGLOBAL_MARGIN
);
boxLayout
->
setSpacing
(
WGLOBAL_SPACING
);
boxLayout
->
setMargin
(
0
);
boxLayout
->
setSpacing
(
0
);
// create a button as title
QPushButton
*
boxTitle
=
new
QPushButton
(
this
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment