diff options
author | Oliver Specht <oliver.specht@cib.de> | 2024-01-30 17:07:46 +0100 |
---|---|---|
committer | Gabor Kelemen <gabor.kelemen.extern@allotropia.de> | 2024-02-12 18:17:18 +0100 |
commit | 828d2637fd3120bfd342b41548caf9c55fc0f603 (patch) | |
tree | d4f14d46abd17c833b574c4ab61d78216d809ced /sw/uiconfig | |
parent | e42b2827b5d392479791632877fc00b6add0307d (diff) |
tdf#159662 Add table alignment and left/right spacing to sidebar in Writer
Change-Id: I12d898f21ca8c7d581aaa1c587c5b6434a35f516
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162769
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/swriter/ui/sidebartableedit.ui | 115 |
1 files changed, 111 insertions, 4 deletions
diff --git a/sw/uiconfig/swriter/ui/sidebartableedit.ui b/sw/uiconfig/swriter/ui/sidebartableedit.ui index 55c4a839ef30..e3a50c34321e 100644 --- a/sw/uiconfig/swriter/ui/sidebartableedit.ui +++ b/sw/uiconfig/swriter/ui/sidebartableedit.ui @@ -12,12 +12,24 @@ <property name="step-increment">1</property> <property name="page-increment">10</property> </object> + <object class="GtkAdjustment" id="adjustment3"> + <property name="lower">-99.98999999999999</property> + <property name="upper">99.98999999999999</property> + <property name="step-increment">0.05</property> + <property name="page-increment">1</property> + </object> + <object class="GtkAdjustment" id="adjustment4"> + <property name="lower">-99.98999999999999</property> + <property name="upper">99.98999999999999</property> + <property name="step-increment">0.05</property> + <property name="page-increment">1</property> + </object> <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="TableEditPanel"> <property name="visible">True</property> <property name="can-focus">False</property> <child> - <!-- n-columns=2 n-rows=10 --> + <!-- n-columns=2 n-rows=14 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -453,6 +465,95 @@ </packing> </child> <child> + <object class="GtkLabel" id="align_label"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes" context="sidebartableedit|align_label">Alignment:</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">alignmentLB</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">9</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="alignmentLB"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="tooltip-text" translatable="yes" context="sidebartableedit|alignmentLB|tooltip_text">Set the alignment options for the selected table.</property> + <property name="hexpand">True</property> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">9</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="leftspace_label"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes" context="sidebartableedit|leftspace_label">Left spacing:</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">leftspace</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">10</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="rightspace_label"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes" context="sidebartableedit|align_label">Right spacing:</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">rightspace</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">10</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="leftspace"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="tooltip-text" translatable="yes" context="sidebatableedit|leftspace|tooltip_text">Left Spacing</property> + <property name="hexpand">True</property> + <property name="text">0</property> + <property name="truncate-multiline">True</property> + <property name="adjustment">adjustment3</property> + <property name="digits">2</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">11</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="rightspace"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="tooltip-text" translatable="yes" context="sidebatableedit|rightspace|tooltip_text">Right Spacing</property> + <property name="hexpand">True</property> + <property name="text">0</property> + <property name="truncate-multiline">True</property> + <property name="adjustment">adjustment4</property> + <property name="digits">2</property> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">11</property> + </packing> + </child> + <child> <object class="GtkToolbar" id="misc"> <property name="visible">True</property> <property name="can-focus">True</property> @@ -496,7 +597,7 @@ </object> <packing> <property name="left-attach">1</property> - <property name="top-attach">9</property> + <property name="top-attach">13</property> </packing> </child> <child> @@ -510,7 +611,7 @@ </object> <packing> <property name="left-attach">0</property> - <property name="top-attach">9</property> + <property name="top-attach">13</property> </packing> </child> <child> @@ -520,10 +621,16 @@ </object> <packing> <property name="left-attach">0</property> - <property name="top-attach">8</property> + <property name="top-attach">12</property> <property name="width">2</property> </packing> </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> </object> <packing> <property name="left-attach">0</property> |