cui/uiconfig/ui/possizetabpage.ui |   14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

New commits:
commit 7e1ecd89fb3e389bb3d5f331ed178cb76d8d5cfa
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Mon Nov 25 08:47:31 2024 +0000
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Mon Nov 25 10:59:29 2024 +0100

    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.mcnam...@collabora.com>
    Tested-by: Jenkins

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>

Reply via email to