diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-03-01 17:20:41 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-03-01 17:26:55 +0100 |
commit | c1e7fc6f497d7570cb0832c43647d295f8592567 (patch) | |
tree | 994c748cf41defce2b72f6e15fc732b476c0955e /sw/uiconfig | |
parent | build WordProCellsMap much faster (diff) | |
download | core-c1e7fc6f497d7570cb0832c43647d295f8592567.tar.gz core-c1e7fc6f497d7570cb0832c43647d295f8592567.zip |
tdf#77111 sw: fix page number offset on table dialog "Text Flow"
Commit c2ccd20c0fd92bddfff76447754541705e3eb8f3 introduced 0 as a valid
value for page number offset in sw core.
Unfortunately the table dialog was not changed then; previously
page number 0 would do automatic numbering, but since then 0 was set as
the offset, and once you have a 0 offset there's no easy way to remove
it, you have to remove the whole page break.
* change the label before the text number edit widget to a checkbox
that disables the edit widget
* keep the id "pagenoft" so that translations still work
* set initial value to 1; 0 is a really bad default since we can't
export it to ODF
* add a little bit of left margin so the line is indented below the
upper line
Change-Id: I70cf5a66d4191acd2c19b3d0a83609e2b348a886
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/swriter/ui/tabletextflowpage.ui | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sw/uiconfig/swriter/ui/tabletextflowpage.ui b/sw/uiconfig/swriter/ui/tabletextflowpage.ui index 76b2f3c6172b..4cbc99c06bc2 100644 --- a/sw/uiconfig/swriter/ui/tabletextflowpage.ui +++ b/sw/uiconfig/swriter/ui/tabletextflowpage.ui @@ -6,6 +6,7 @@ <property name="upper">9999</property> <property name="step_increment">1</property> <property name="page_increment">10</property> + <property name="value">1</property> </object> <object class="GtkAdjustment" id="adjustment2"> <property name="upper">100</property> @@ -203,6 +204,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="margin_left">22</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -216,12 +218,11 @@ </packing> </child> <child> - <object class="GtkLabel" id="pagenoft"> + <object class="GtkCheckButton" id="pagenoft"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can_focus">True</property> <property name="label" translatable="yes">Page _number</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">pagenonf</property> </object> <packing> <property name="left_attach">2</property> @@ -234,6 +235,9 @@ <property name="can_focus">True</property> <property name="invisible_char">•</property> <property name="adjustment">adjustment1</property> + <accessibility> + <relation type="labelled-by" target="pagenoft"/> + </accessibility> </object> <packing> <property name="left_attach">3</property> |