ui: fixed fontMetrics lineheight working with wrong font in QtCodeSnippet

FontMetric specific settings are now applied in the showEvent method, which is executed right before showing the Widget
where the font setting from the stylesheet is already present.
This commit is contained in:
Eberhard Graether
2014-07-17 13:41:51 +02:00
parent efe3316ae3
commit 75e1cb7229
3 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -5,6 +5,6 @@
<FontName>Courier</FontName>
<FontSize>12</FontSize>
<LinkColor>222 222 222 100</LinkColor>
<ActiveLinkColor>210 240 70 50</ActiveLinkColor>
<ActiveLinkColor>210 240 70 100</ActiveLinkColor>
</code>
</config>