diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-11-25 08:47:31 +0000 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2024-11-25 12:31:37 +0100 |
commit | ea06acb6489c65f382e35f8ea68862596cc09639 (patch) | |
tree | 2950395a8ee8bda74436717703c1aaa9483e45b9 /cui | |
parent | 31f3e6f15b40514da1567859286d1f567fed0c8c (diff) |
tdf#163289 Labels can just use mnemonic-widget to indicate what they label
the more complex label-for/labelled-by only need to get used
when when using something non-standard as a "label"
Change-Id: Ibbe13b868622646e20357703e31cfc26e31fac7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177238
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
(cherry picked from commit 7e1ecd89fb3e389bb3d5f331ed178cb76d8d5cfa)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177251
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/uiconfig/ui/possizetabpage.ui | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/cui/uiconfig/ui/possizetabpage.ui b/cui/uiconfig/ui/possizetabpage.ui index f0f785a97a3c..e57862902047 100644 --- a/cui/uiconfig/ui/possizetabpage.ui +++ b/cui/uiconfig/ui/possizetabpage.ui @@ -234,10 +234,8 @@ <property name="can-focus">False</property> <property name="label" translatable="yes" context="possizetabpage|FT_WIDTH">Wi_dth:</property> <property name="use-underline">True</property> + <property name="mnemonic-widget">MTR_FLD_WIDTH</property> <property name="xalign">0</property> - <accessibility> - <relation type="label-for" target="MTR_FLD_WIDTH"/> - </accessibility> </object> <packing> <property name="left-attach">0</property> @@ -329,9 +327,6 @@ <property name="truncate-multiline">True</property> <property name="adjustment">adjustmentSIZE</property> <property name="digits">2</property> - <accessibility> - <relation type="labelled-by" target="FT_WIDTH"/> - </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="MTR_FLD_WIDTH-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="possizetabpage|extended_tip|MTR_FLD_WIDTH">Enter a width for the selected object.</property> @@ -352,9 +347,6 @@ <property name="truncate-multiline">True</property> <property name="adjustment">adjustmentSIZE1</property> <property name="digits">2</property> - <accessibility> - <relation type="labelled-by" target="FT_HEIGHT"/> - </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="MTR_FLD_HEIGHT-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="possizetabpage|extended_tip|MTR_FLD_HEIGHT">Enter a height for the selected object.</property> @@ -372,10 +364,8 @@ <property name="can-focus">False</property> <property name="label" translatable="yes" context="possizetabpage|FT_HEIGHT">H_eight:</property> <property name="use-underline">True</property> + <property name="mnemonic-widget">MTR_FLD_HEIGHT</property> <property name="xalign">0</property> - <accessibility> - <relation type="label-for" target="MTR_FLD_HEIGHT"/> - </accessibility> </object> <packing> <property name="left-attach">0</property> |