Skip to content

Commit

Permalink
Don't right-align headers in expression help and metadata tabs
Browse files Browse the repository at this point in the history
Right aligning makes the header text way too far away from the
body text, which makes it very difficult to read

(cherry picked from commit 89b654e)
(cherry picked from commit 8e655d9)
  • Loading branch information
nyalldawson committed Mar 17, 2020
1 parent 91cd7e6 commit 12f0ae3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/qgsapplication.cpp
Expand Up @@ -1352,20 +1352,20 @@ QString QgsApplication::reportStyleSheet( QgsApplication::StyleSheetType styleSh
" color: #93b023;" // from http://qgis.org/en/site/getinvolved/styleguide.html
" font-weight: bold;"
" font-size: large;"
" text-align: right;"
" text-align: left;"
" border-bottom: 5px solid #DCEB5C;"
"}"
"h4{ background-color: #F6F6F6;"
" color: #93b023;" // from http://qgis.org/en/site/getinvolved/styleguide.html
" font-weight: bold;"
" font-size: medium;"
" text-align: right;"
" text-align: left;"
"}"
"h5{ background-color: #F6F6F6;"
" color: #93b023;" // from http://qgis.org/en/site/getinvolved/styleguide.html
" font-weight: bold;"
" font-size: small;"
" text-align: right;"
" text-align: left;"
"}"
"a{ color: #729FCF;"
" font-family: arial,sans-serif;"
Expand All @@ -1385,7 +1385,7 @@ QString QgsApplication::reportStyleSheet( QgsApplication::StyleSheetType styleSh
" border-top: 1px solid black;"
"}"
".list-view .highlight {"
" text-align: right;"
" text-align: left;"
" border: 0px;"
" width: 20%;"
" padding-right: 15px;"
Expand Down

0 comments on commit 12f0ae3

Please sign in to comment.