mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Set fixed size for close icon in QgsMessageBar
This commit is contained in:
parent
ccbd3e2e9d
commit
e435762ecd
@ -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() ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user