Change the font of the help, just size can be modified.

This is true for html files that are styled thru style sheets.
We could implement a workaround using jQuery and manipulate
the html/ css, but this is so slow that I won't do that.

Instead add a note and tell the user about the underlying problem.

Task-number: QTCREATORBUG-4871
Change-Id: Id3d0a490bb160825ec643f8c84871aad6cf1b796
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
This commit is contained in:
kh1
2012-05-31 16:10:02 +02:00
committed by Karsten Heimrich
parent 8d37120edc
commit 9eed55f3fb

View File

@@ -19,7 +19,9 @@
<property name="title">
<string>Font</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="familyLabel">
<property name="sizePolicy">
@@ -37,7 +39,7 @@
<widget class="QFontComboBox" name="familyComboBox"/>
</item>
<item>
<spacer>
<spacer name="spacer1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -76,7 +78,7 @@
</widget>
</item>
<item>
<spacer>
<spacer name="spacer2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -115,7 +117,7 @@
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<spacer name="spacer3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -128,6 +130,18 @@
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Note: This setting takes effect only if the HTML file does not use a style sheet.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
@@ -237,7 +251,7 @@
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<spacer name="spacer4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -287,7 +301,7 @@
<item>
<layout class="QHBoxLayout" name="bookmarkHorizontalLayout">
<item>
<spacer name="horizontalSpacer_4">
<spacer name="spacer5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -379,7 +393,7 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<spacer name="spacer6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>