cui/uiconfig/ui/hyperlinkdocpage.ui | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit a25b8e353e3ac6383a63f3626b2d0cb88baaf872 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri Jan 12 09:57:24 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri Jan 12 12:30:12 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 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>