Skip to content
Permalink
Browse files

Increase padding for collapsed groupbox

  • Loading branch information
dakcarto committed Sep 11, 2012
1 parent d1a7a00 commit 6787a875b06dcac811740dc7005897f45204974f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgscollapsiblegroupbox.cpp
@@ -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 );

0 comments on commit 6787a87

Please sign in to comment.
You can’t perform that action at this time.