Skip to content
Permalink
Browse files

Fix placement of message bar 'clear all' menu arrow on hidpi screens

  • Loading branch information
nyalldawson committed May 31, 2020
1 parent 18c781f commit 8a9975b4ff6b7a8a79bef05230db28754500fa40
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmessagebar.cpp
@@ -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); }" );

0 comments on commit 8a9975b

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