summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-12 09:57:24 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-12 12:30:12 +0100
commita25b8e353e3ac6383a63f3626b2d0cb88baaf872 (patch)
treefb84eda31d62d3ae4d2d196e65849ca800c5ff87 /cui
parentf7accbfdf3231bfa48f42533e2bcbb27b8a4af04 (diff)
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 <xiscofauli@libreoffice.org> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins
Diffstat (limited to 'cui')
-rw-r--r--cui/uiconfig/ui/hyperlinkdocpage.ui5
1 files changed, 4 insertions, 1 deletions
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>