sw/uiconfig/swriter/ui/commentsthread.ui |    1 +
 sw/uiconfig/swriter/ui/commentwidget.ui  |    3 +++
 2 files changed, 4 insertions(+)

New commits:
commit fc5983f470e5b0e54a75da3285a2c2ec64f7af79
Author:     Mohit Marathe <mohitmara...@proton.me>
AuthorDate: Sat Sep 21 14:52:13 2024 +0530
Commit:     Sarper Akdemir <sarper.akde...@allotropia.de>
CommitDate: Mon Sep 23 10:07:29 2024 +0200

    tdf#162999 Fix comments sidebar resizing issue
    
    Earlier it was not possible to resize the comments sidebar due to
    no text wrapping for author's name. This patch fixes allowing text
    wrapping for author's name, comment and truncates the commentedtext
    label.
    
    Change-Id: I7a7c2a72c44b1c5e4bcf3b02096425d26d3c0d6b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173755
    Tested-by: Jenkins
    Reviewed-by: Sarper Akdemir <sarper.akde...@allotropia.de>

diff --git a/sw/uiconfig/swriter/ui/commentsthread.ui 
b/sw/uiconfig/swriter/ui/commentsthread.ui
index 6a8980580484..70e6da9fb068 100644
--- a/sw/uiconfig/swriter/ui/commentsthread.ui
+++ b/sw/uiconfig/swriter/ui/commentsthread.ui
@@ -29,6 +29,7 @@
             <property name="can-focus">False</property>
             <property name="hexpand">True</property>
             <property name="label" translatable="yes" 
context="commentspanel|referencetext">commentedtext</property>
+            <property name="ellipsize">end</property>
           </object>
         </child>
       </object>
diff --git a/sw/uiconfig/swriter/ui/commentwidget.ui 
b/sw/uiconfig/swriter/ui/commentwidget.ui
index 5429fdb33c56..2bac595252fe 100644
--- a/sw/uiconfig/swriter/ui/commentwidget.ui
+++ b/sw/uiconfig/swriter/ui/commentwidget.ui
@@ -47,6 +47,8 @@
                     <property name="can-focus">False</property>
                     <property name="hexpand">True</property>
                     <property name="label" translatable="yes" 
context="commentspanel|authorlabel">author</property>
+                    <property name="wrap">True</property>
+                    <property name="wrap-mode">word-char</property>
                     <property name="mnemonic-widget">resolvebutton</property>
                   </object>
                   <packing>
@@ -144,6 +146,7 @@
                             <property name="valign">start</property>
                             <property name="hexpand">True</property>
                             <property name="vexpand">True</property>
+                            <property name="wrap-mode">word-char</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>

Reply via email to