diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2021-11-09 08:47:02 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2021-11-09 10:12:27 +0100 |
commit | 3746379f251091696b73463f7b27e8ef732dd20b (patch) | |
tree | 8759384ae8288547a29f30ba50c690536d00ec09 /cui/uiconfig | |
parent | 8292a950912c66a312210328eda424a2afc46280 (diff) |
tdf#48622 Fix layout issue when "Custom" was selected
Change-Id: Ie32a763b88cfc26b61d942214b16e008179d410c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124898
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'cui/uiconfig')
-rw-r--r-- | cui/uiconfig/ui/borderpage.ui | 59 |
1 files changed, 34 insertions, 25 deletions
diff --git a/cui/uiconfig/ui/borderpage.ui b/cui/uiconfig/ui/borderpage.ui index b629cb0c88dd..91fd315ce14e 100644 --- a/cui/uiconfig/ui/borderpage.ui +++ b/cui/uiconfig/ui/borderpage.ui @@ -211,8 +211,11 @@ <property name="can-focus">False</property> <property name="label" translatable="yes" context="borderpage|label16">_Width:</property> <property name="use-underline">True</property> - <property name="mnemonic-widget">linewidthmf</property> <property name="xalign">0</property> + <accessibility> + <relation type="label-for" target="linewidthlb"/> + <relation type="label-for" target="linewidthmf"/> + </accessibility> </object> <packing> <property name="left-attach">0</property> @@ -250,12 +253,25 @@ </packing> </child> <child> - <!-- n-columns=2 n-rows=1 --> - <object class="GtkGrid" id="gridlinewidth"> + <object class="GtkMenuButton" id="linecolorlb"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> + <property name="xalign">0</property> + <property name="draw-indicator">True</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">1</property> + </packing> + </child> + <child> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="halign">start</property> - <property name="column-spacing">6</property> <child> <object class="GtkComboBoxText" id="linewidthlb"> <property name="visible">True</property> @@ -270,25 +286,34 @@ <item translatable="yes" context="borderpage|linewidthlb">Extra thick</item> <item translatable="yes" context="borderpage|linewidthlb">Custom</item> </items> + <accessibility> + <relation type="labelled-by" target="label16"/> + </accessibility> </object> <packing> - <property name="left-attach">0</property> - <property name="top-attach">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> </packing> </child> <child> <object class="GtkSpinButton" id="linewidthmf"> <property name="visible">True</property> <property name="can-focus">True</property> + <property name="hexpand">True</property> <property name="activates-default">True</property> <property name="truncate-multiline">True</property> <property name="adjustment">adjustment1</property> <property name="digits">2</property> <property name="value">0.05</property> + <accessibility> + <relation type="labelled-by" target="label16"/> + </accessibility> </object> <packing> - <property name="left-attach">1</property> - <property name="top-attach">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> @@ -297,22 +322,6 @@ <property name="top-attach">2</property> </packing> </child> - <child> - <object class="GtkMenuButton" id="linecolorlb"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">False</property> - <property name="xalign">0</property> - <property name="draw-indicator">True</property> - <child> - <placeholder/> - </child> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">1</property> - </packing> - </child> </object> </child> <child type="label"> |