Skip to content

Commit

Permalink
[ui][themes] Make attribute form constraints background coloring comp…
Browse files Browse the repository at this point in the history
…atible with dark themes
  • Loading branch information
nirvn authored and nyalldawson committed Nov 13, 2023
1 parent 5b44c1c commit 50727b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/editorwidgets/core/qgseditorwidgetwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ void QgsEditorWidgetWrapper::updateConstraintWidgetStatus()
break;

case ConstraintResultFailHard:
widget()->setStyleSheet( QStringLiteral( "background-color: #FFE0B2;" ) );
widget()->setStyleSheet( QStringLiteral( "background-color: rgba(255, 150, 0, 0.3);" ) );
break;

case ConstraintResultFailSoft:
widget()->setStyleSheet( QStringLiteral( "background-color: #FFECB3;" ) );
widget()->setStyleSheet( QStringLiteral( "background-color: rgba(255, 200, 45, 0.3);" ) );
break;
}
}
Expand Down

0 comments on commit 50727b4

Please sign in to comment.