diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-02-13 13:57:35 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-02-13 12:32:26 +0100 |
| commit | 19ac43503568ebc7fe4721f84292a11bbf7c2c2c (patch) | |
| tree | 4feaa078c614476ed0a4165da6eab5a1a1ca39bb /src/dialogs/settingsdialog.ui | |
| parent | 496ea48de41e6c637c9fb3582216dbd9d8ee55c7 (diff) | |
| download | kristall-19ac43503568ebc7fe4721f84292a11bbf7c2c2c.tar.gz | |
Adds per-style pref for text width
Diffstat (limited to 'src/dialogs/settingsdialog.ui')
| -rw-r--r-- | src/dialogs/settingsdialog.ui | 67 |
1 files changed, 54 insertions, 13 deletions
diff --git a/src/dialogs/settingsdialog.ui b/src/dialogs/settingsdialog.ui index 2193656..b1c0684 100644 --- a/src/dialogs/settingsdialog.ui +++ b/src/dialogs/settingsdialog.ui @@ -930,16 +930,54 @@ </property> </widget> </item> + <item> + <widget class="QCheckBox" name="enable_text_width"> + <property name="text"> + <string>Enable text width limit</string> + </property> + <property name="toolTip"> + <string>Whether to limit the width of formatted text on the page or not.</string> + </property> + </widget> + </item> </layout> </item> + <item row="15" column="0"> + <widget class="QLabel" name="label_38"> + <property name="text"> + <string>Text width limit</string> + </property> + <property name="toolTip"> + <string>Preferred width of formatted text on the page.</string> + </property> + </widget> + </item> + <item row="15" column="1"> + <widget class="QSpinBox" name="text_width"> + <property name="minimum"> + <number>300</number> + </property> + <property name="value"> + <number>900</number> + </property> + <property name="maximum"> + <number>2000</number> + </property> + <property name="suffix"> + <string> px</string> + </property> + </widget> + </item> + + <item row="16" column="0"> <widget class="QLabel" name="label_35"> <property name="text"> <string>Line height (paragraph)</string> </property> </widget> </item> - <item row="15" column="1"> + <item row="16" column="1"> <widget class="QDoubleSpinBox" name="line_height_p"> <property name="suffix"> <string> px</string> @@ -952,14 +990,15 @@ </property> </widget> </item> - <item row="16" column="0"> + + <item row="17" column="0"> <widget class="QLabel" name="label_36"> <property name="text"> <string>Line height (header)</string> </property> </widget> </item> - <item row="16" column="1"> + <item row="17" column="1"> <widget class="QDoubleSpinBox" name="line_height_h"> <property name="suffix"> <string> px</string> @@ -973,14 +1012,14 @@ </widget> </item> - <item row="17" column="0"> + <item row="18" column="0"> <widget class="QLabel" name="label_37"> <property name="text"> <string>Indentation</string> </property> </widget> </item> - <item row="17" column="1"> + <item row="18" column="1"> <layout class="QHBoxLayout" name="indent_container"> <item> @@ -1070,7 +1109,14 @@ </layout> </item> - <item row="18" column="1"> + <item row="19" column="0"> + <widget class="QLabel" name="label_17"> + <property name="text"> + <string>Presets</string> + </property> + </widget> + </item> + <item row="19" column="1"> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QComboBox" name="presets"/> @@ -1146,13 +1192,6 @@ </item> </layout> </item> - <item row="18" column="0"> - <widget class="QLabel" name="label_17"> - <property name="text"> - <string>Presets</string> - </property> - </widget> - </item> <item row="11" column="0"> <widget class="QLabel" name="label_21"> <property name="text"> @@ -1305,6 +1344,8 @@ <tabstop>auto_theme</tabstop> <tabstop>page_margin</tabstop> <tabstop>enable_justify_text</tabstop> + <tabstop>enable_text_width</tabstop> + <tabstop>text_width</tabstop> <tabstop>line_height_p</tabstop> <tabstop>line_height_h</tabstop> <tabstop>indent_p</tabstop> |
