Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't right-align headers in expression help and metadata tabs
Right aligning makes the header text way too far away from the
body text, which makes it very difficult to read
  • Loading branch information
nyalldawson committed Mar 9, 2020
1 parent f208580 commit 89b654e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/qgsapplication.cpp
Expand Up @@ -1366,20 +1366,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 @@ -1399,7 +1399,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 89b654e

Please sign in to comment.