diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-02-04 14:07:21 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-02-04 16:52:03 +0100 |
commit | e1d7242341ec148b631a96e6d63697bce6a497c9 (patch) | |
tree | 1a5cabb582106f127628ff32ef1a3bbbbe656185 /cui/uiconfig | |
parent | 6f7f9e4d19b38d6f51f032ee3d7b99d5bbdb5b75 (diff) |
tdf#91920 sw page gutter margin: add UI
Also update the preview widget and hide the new UI in Calc/Impress.
Change-Id: Ic5c0ba100f6e886651d83c04961e9f0566a4202c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110414
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'cui/uiconfig')
-rw-r--r-- | cui/uiconfig/ui/pageformatpage.ui | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cui/uiconfig/ui/pageformatpage.ui b/cui/uiconfig/ui/pageformatpage.ui index f37a15a250d5..cc8bef5433b3 100644 --- a/cui/uiconfig/ui/pageformatpage.ui +++ b/cui/uiconfig/ui/pageformatpage.ui @@ -449,6 +449,38 @@ <property name="top_attach">3</property> </packing> </child> + <child> + <object class="GtkLabel" id="labelGutterMargin"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="pageformatpage|labelGutterMargin">Gutter:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">spinMargBot</property> + <property name="xalign">0</property> + <accessibility> + <relation type="label-for" target="spinMargGut"/> + </accessibility> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">4</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="spinMargGut"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="activates_default">True</property> + <property name="truncate_multiline">True</property> + <accessibility> + <relation type="labelled-by" target="labelGutterMargin"/> + </accessibility> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">4</property> + </packing> + </child> </object> </child> <child type="label"> |