cui/uiconfig/ui/hyperlinkdocpage.ui |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit e0237d26c6b07f79ab7d4c702b0d0c4241039ac2
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Fri Jan 12 09:57:24 2024 +0000
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Mon Jan 15 14:49:59 2024 +0100

    Resolves: tdf#159138 don't expand dialog to fit excessively long urls
    
    this widget is the one that ends up controlling the insert hyperlink
    dialog width
    
    Change-Id: I09aaa32e96c4ddcc3e608cb24e67a669d376120f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161961
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    Tested-by: Jenkins
    (cherry picked from commit a25b8e353e3ac6383a63f3626b2d0cb88baaf872)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161945
    Tested-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/cui/uiconfig/ui/hyperlinkdocpage.ui 
b/cui/uiconfig/ui/hyperlinkdocpage.ui
index 1e769d50862e..b27c7d8e07c7 100644
--- a/cui/uiconfig/ui/hyperlinkdocpage.ui
+++ b/cui/uiconfig/ui/hyperlinkdocpage.ui
@@ -198,13 +198,16 @@
               <object class="GtkLabel" id="url">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="halign">start</property>
                 <property name="hexpand">True</property>
                 <property name="label" translatable="yes" 
context="hyperlinkdocpage|url">Test text</property>
+                <property name="ellipsize">middle</property>
+                <property name="max-width-chars">20</property>
+                <property name="xalign">0</property>
               </object>
               <packing>
                 <property name="left_attach">1</property>
                 <property name="top_attach">1</property>
+                <property name="width">2</property>
               </packing>
             </child>
             <child>

Reply via email to