mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
FontUi: Fix layout
The old layout resulted in a too wide dialog (especially in some localizations)
This commit is contained in:
parent
ddacfc0581
commit
06fb58a2da
@ -6,68 +6,14 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>541</width>
|
||||
<height>319</height>
|
||||
<width>533</width>
|
||||
<height>447</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>FontUi</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="1" column="1">
|
||||
<widget class="QComboBox" name="fontsDefaultCO">
|
||||
<property name="toolTip">
|
||||
<string>Select the default family for the document</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QLabel" name="BaseSizeLA">
|
||||
<property name="text">
|
||||
<string>&Base size:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>fontsizeCO</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="3">
|
||||
<widget class="QComboBox" name="fontsizeCO">
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="fontencLA">
|
||||
<property name="text">
|
||||
<string>LaTe&X font encoding:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>fontencCO</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QComboBox" name="fontencCO"/>
|
||||
</item>
|
||||
<item row="2" column="2" colspan="2">
|
||||
<widget class="QLineEdit" name="fontencLE">
|
||||
<property name="toolTip">
|
||||
<string>Specify the font encoding (e.g., T1).</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="fontsRomanLA">
|
||||
<property name="text">
|
||||
<string>&Roman:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>fontsRomanCO</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="osFontsCB">
|
||||
<property name="toolTip">
|
||||
@ -78,7 +24,43 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="fontsDefaultLA">
|
||||
<property name="text">
|
||||
<string>&Default family:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>fontsDefaultCO</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QComboBox" name="fontsDefaultCO">
|
||||
<property name="toolTip">
|
||||
<string>Select the default family for the document</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="BaseSizeLA">
|
||||
<property name="text">
|
||||
<string>&Base size:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>fontsizeCO</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="fontsizeCO">
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
@ -91,13 +73,39 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="fontsDefaultLA">
|
||||
</layout>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="fontencLA">
|
||||
<property name="text">
|
||||
<string>&Default family:</string>
|
||||
<string>&LaTeX font encoding:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>fontsDefaultCO</cstring>
|
||||
<cstring>fontencCO</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QComboBox" name="fontencCO"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="fontencLE">
|
||||
<property name="toolTip">
|
||||
<string>Specify the font encoding (e.g., T1).</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="fontsRomanLA">
|
||||
<property name="text">
|
||||
<string>&Roman:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>fontsRomanCO</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -119,13 +127,28 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QComboBox" name="fontsSansCO">
|
||||
<property name="toolTip">
|
||||
<string>Select the Sans Serif (grotesque) typeface</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="scaleSansLA">
|
||||
<property name="text">
|
||||
<string>S&cale (%):</string>
|
||||
@ -135,14 +158,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QComboBox" name="fontsTypewriterCO">
|
||||
<property name="toolTip">
|
||||
<string>Select the typewriter (monospaced) typeface</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="3">
|
||||
<item>
|
||||
<widget class="QSpinBox" name="scaleSansSB">
|
||||
<property name="toolTip">
|
||||
<string>Scale the Sans Serif font to match the base font's dimensions</string>
|
||||
@ -155,6 +171,8 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="fontsTypewriterLA">
|
||||
<property name="text">
|
||||
@ -165,7 +183,29 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="2">
|
||||
<item row="5" column="1">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<item>
|
||||
<widget class="QComboBox" name="fontsTypewriterCO">
|
||||
<property name="toolTip">
|
||||
<string>Select the typewriter (monospaced) typeface</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="scaleTypewriterLA">
|
||||
<property name="text">
|
||||
<string>Sc&ale (%):</string>
|
||||
@ -175,14 +215,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QComboBox" name="fontsMathCO">
|
||||
<property name="toolTip">
|
||||
<string>Select the math typeface</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="3">
|
||||
<item>
|
||||
<widget class="QSpinBox" name="scaleTypewriterSB">
|
||||
<property name="toolTip">
|
||||
<string>Scale the Typewriter font to match the base font's dimensions</string>
|
||||
@ -195,6 +228,8 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="fontsMathLA">
|
||||
<property name="text">
|
||||
@ -205,6 +240,13 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QComboBox" name="fontsMathCO">
|
||||
<property name="toolTip">
|
||||
<string>Select the math typeface</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0">
|
||||
<widget class="QLabel" name="cjkFontLA">
|
||||
<property name="text">
|
||||
|
Loading…
Reference in New Issue
Block a user