Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Increase padding for collapsed groupbox
  • Loading branch information
dakcarto committed Sep 11, 2012
1 parent d1a7a00 commit 6787a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgscollapsiblegroupbox.cpp
Expand Up @@ -213,7 +213,7 @@ void QgsCollapsibleGroupBox::setCollapsed( bool collapse )
QApplication::processEvents();
// set maximum height to hide contents - does this work in all envs?
// setMaximumHeight( collapse ? 25 : 16777215 );
setMaximumHeight( collapse ? titleRect().bottom() + 2 : 16777215 );
setMaximumHeight( collapse ? titleRect().bottom() + 6 : 16777215 );
mCollapseButton->setIcon( collapse ? mExpandIcon : mCollapseIcon );

emit collapsedStateChanged( this );
Expand Down

0 comments on commit 6787a87

Please sign in to comment.