Commit cd005a1d authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] - not using global marging and spacing for group boxes. Only for its contents.

parent eff5451a
......@@ -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 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment