Skip to content

Commit

Permalink
[ui] Fix QGIS new version message bar compatibility with dark themes
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn authored and github-actions[bot] committed Feb 21, 2024
1 parent 3891202 commit 2ca77ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgswelcomepage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ QgsWelcomePage::QgsWelcomePage( bool skipVersionCheck, QWidget *parent )
mVersionInformation->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Maximum );
mVersionInformation->setReadOnly( true );
mVersionInformation->setOpenExternalLinks( true );
mVersionInformation->setStyleSheet( QStringLiteral( "QTextEdit { background-color: #dff0d8; border: 1px solid #8e998a; padding-top: 0.25em; max-height: 1.75em; min-height: 1.75em; } "
mVersionInformation->setStyleSheet( QStringLiteral( "QTextEdit { background-color: #dff0d8; color:#000000; border: 1px solid #8e998a; padding-top: 0.25em; max-height: 1.75em; min-height: 1.75em; } "
"QScrollBar { background-color: rgba(0,0,0,0); } "
"QScrollBar::add-page,QScrollBar::sub-page,QScrollBar::handle { background-color: rgba(0,0,0,0); color: rgba(0,0,0,0); } "
"QScrollBar::up-arrow,QScrollBar::down-arrow { color: rgb(0,0,0); } " ) );
Expand Down

0 comments on commit 2ca77ce

Please sign in to comment.