Skip to content
Permalink
Browse files

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

(cherry picked from commit 89b654e)
  • Loading branch information
nyalldawson committed Mar 9, 2020
1 parent 2475c81 commit 8e655d9ed73f6e62699a98b2286c2e663b4c6cad
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/core/qgsapplication.cpp
@@ -1365,20 +1365,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;"
@@ -1398,7 +1398,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;"

0 comments on commit 8e655d9

Please sign in to comment.
You can’t perform that action at this time.