Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[themes] Fix missing background fill for user input widgets
(fixes #39452)
  • Loading branch information
nirvn authored and nyalldawson committed Oct 23, 2020
1 parent be59787 commit 58e9a68
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/themes/Blend of Gray/style.qss
Expand Up @@ -1032,3 +1032,7 @@ QWidget#QgsRendererMeshPropsWidgetBase QTabWidget#mStyleOptionsTab QTabBar::tab
QWidget#QgsRasterCalcDialogBase QWidget#mOperatorsGroupBox QPushButton {
min-width:2.3em;
}

QFrame#mUserInputContainer {
background-color: @background;
}
4 changes: 4 additions & 0 deletions resources/themes/Night Mapping/style.qss
Expand Up @@ -1069,3 +1069,7 @@ QWidget#QgsRendererMeshPropsWidgetBase QTabWidget#mStyleOptionsTab QTabBar::tab
QWidget#QgsRasterCalcDialogBase QWidget#mOperatorsGroupBox QPushButton {
min-width:2.3em;
}

QFrame#mUserInputContainer {
background-color: @background;
}
1 change: 1 addition & 0 deletions src/gui/qgsuserinputwidget.cpp
Expand Up @@ -23,6 +23,7 @@ QgsUserInputWidget::QgsUserInputWidget( QWidget *parent )
//TODO add title tr( "User Input Panel" )

QFrame *f = new QFrame();
f->setObjectName( QStringLiteral( "mUserInputContainer" ) );

QPalette pal = palette();
pal.setBrush( backgroundRole(), pal.window() );
Expand Down

0 comments on commit 58e9a68

Please sign in to comment.