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)
(cherry picked from commit 8e655d9)
  • Loading branch information
nyalldawson committed Mar 9, 2020
1 parent 91cd7e6 commit 12f0ae3ad22500c3870ebfc533a7c17515fffc86
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/core/qgsapplication.cpp
@@ -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;"
@@ -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;"

0 comments on commit 12f0ae3

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