diff options
Diffstat (limited to 'src/settings/settings_fonts.ui')
| -rw-r--r-- | src/settings/settings_fonts.ui | 178 | 
1 files changed, 127 insertions, 51 deletions
| diff --git a/src/settings/settings_fonts.ui b/src/settings/settings_fonts.ui index 3f9aa9ef..52c7872e 100644 --- a/src/settings/settings_fonts.ui +++ b/src/settings/settings_fonts.ui @@ -19,30 +19,70 @@       <property name="title">        <string>Fonts</string>       </property> -     <layout class="QVBoxLayout" name="verticalLayout"> -      <item> -       <layout class="QGridLayout" name="gridLayout"> -        <item row="0" column="0"> -         <widget class="QLabel" name="label"> -          <property name="text"> -           <string>Standard font:</string> -          </property> -         </widget> -        </item> -        <item row="1" column="0"> -         <widget class="QLabel" name="label_2"> -          <property name="text"> -           <string>Fixed font:</string> -          </property> -         </widget> -        </item> -        <item row="1" column="1"> -         <widget class="KFontComboBox" name="kcfg_fixedFont"/> -        </item> -        <item row="0" column="1"> -         <widget class="KFontComboBox" name="kcfg_standardFont"/> -        </item> -       </layout> +     <layout class="QFormLayout" name="formLayout"> +      <item row="0" column="0"> +       <widget class="QLabel" name="label"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +        <property name="minimumSize"> +         <size> +          <width>150</width> +          <height>0</height> +         </size> +        </property> +        <property name="text"> +         <string>Standard font:</string> +        </property> +        <property name="alignment"> +         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> +        </property> +       </widget> +      </item> +      <item row="0" column="1"> +       <widget class="KFontComboBox" name="kcfg_standardFont"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +       </widget> +      </item> +      <item row="1" column="0"> +       <widget class="QLabel" name="label_2"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +        <property name="minimumSize"> +         <size> +          <width>150</width> +          <height>0</height> +         </size> +        </property> +        <property name="text"> +         <string>Fixed font:</string> +        </property> +        <property name="alignment"> +         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> +        </property> +       </widget> +      </item> +      <item row="1" column="1"> +       <widget class="KFontComboBox" name="kcfg_fixedFont"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +       </widget>        </item>       </layout>      </widget> @@ -52,34 +92,70 @@       <property name="title">        <string>Dimension</string>       </property> -     <layout class="QVBoxLayout" name="verticalLayout_2"> -      <item> -       <layout class="QHBoxLayout" name="horizontalLayout"> -        <item> -         <widget class="QLabel" name="label_3"> -          <property name="text"> -           <string>Font size:</string> -          </property> -         </widget> -        </item> -        <item> -         <widget class="QSpinBox" name="kcfg_fontSize"/> -        </item> -       </layout> +     <layout class="QFormLayout" name="formLayout_2"> +      <item row="0" column="0"> +       <widget class="QLabel" name="label_3"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +        <property name="minimumSize"> +         <size> +          <width>150</width> +          <height>0</height> +         </size> +        </property> +        <property name="text"> +         <string>Font size:</string> +        </property> +        <property name="alignment"> +         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> +        </property> +       </widget> +      </item> +      <item row="0" column="1"> +       <widget class="QSpinBox" name="kcfg_fontSize"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +       </widget> +      </item> +      <item row="1" column="0"> +       <widget class="QLabel" name="label_4"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +        <property name="minimumSize"> +         <size> +          <width>150</width> +          <height>0</height> +         </size> +        </property> +        <property name="text"> +         <string>Minimal font size:</string> +        </property> +        <property name="alignment"> +         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> +        </property> +       </widget>        </item> -      <item> -       <layout class="QHBoxLayout" name="horizontalLayout2"> -        <item> -         <widget class="QLabel" name="label_4"> -          <property name="text"> -           <string>Minimal font size:</string> -          </property> -         </widget> -        </item> -        <item> -         <widget class="QSpinBox" name="kcfg_minFontSize"/> -        </item> -       </layout> +      <item row="1" column="1"> +       <widget class="QSpinBox" name="kcfg_minFontSize"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +       </widget>        </item>       </layout>      </widget> | 
