Skip to content

Commit

Permalink
Fix placement of message bar 'clear all' menu arrow on hidpi screens
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 31, 2020
1 parent 18c781f commit 8a9975b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmessagebar.cpp
Expand Up @@ -81,7 +81,7 @@ QgsMessageBar::QgsMessageBar( QWidget *parent )
mCloseBtn = new QToolButton( this );
mCloseMenu->setObjectName( QStringLiteral( "mCloseMenu" ) );
mCloseBtn->setToolTip( tr( "Close" ) );
mCloseBtn->setMinimumWidth( 40 );
mCloseBtn->setMinimumWidth( QgsGuiUtils::scaleIconSize( 44 ) );
mCloseBtn->setStyleSheet(
"QToolButton { border:none; background-color: rgba(0, 0, 0, 0); }"
"QToolButton::menu-button { border:none; background-color: rgba(0, 0, 0, 0); }" );
Expand Down

0 comments on commit 8a9975b

Please sign in to comment.