Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Set fixed size for close icon in QgsMessageBar
  • Loading branch information
dakcarto committed Jan 13, 2013
1 parent ccbd3e2 commit e435762
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsmessagebar.cpp
Expand Up @@ -80,6 +80,7 @@ QgsMessageBar::QgsMessageBar( QWidget *parent )
"QToolButton::menu-indicator { subcontrol-position: right bottom; subcontrol-origin: padding; bottom: 6px; }" );
mCloseBtn->setCursor( Qt::PointingHandCursor );
mCloseBtn->setIcon( QgsApplication::getThemeIcon( "/mIconClose.png" ) );
mCloseBtn->setIconSize( QSize( 18, 18 ) );
mCloseBtn->setSizePolicy( QSizePolicy::Maximum, QSizePolicy::Preferred );
mCloseBtn->setMenu( mCloseMenu );
connect( mCloseBtn, SIGNAL( clicked() ), this, SLOT( popWidget() ) );
Expand Down

0 comments on commit e435762

Please sign in to comment.