summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-01-28 10:32:19 -0500
committerMatthias Clasen <mclasen@redhat.com>2023-01-28 10:33:40 -0500
commitd305148912b4a23eea53c9fc1c894d5c062b6d6d (patch)
tree9febf20e0795b36a13bd28699c50e6da98b46dcb
parent4b6a9d2fb5fcb2955a01b542c566e91bc39cac7c (diff)
downloadgtk+-tooltip-size-renovation.tar.gz
tooltip: Prevent too-wide tooltip windowstooltip-size-renovation
Set the label to expand, so it actually fills the width that we allocated for it, instead of shrinking back to the minimum width for its height. Fixes: #5521
-rw-r--r--gtk/ui/gtktooltipwindow.ui1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/ui/gtktooltipwindow.ui b/gtk/ui/gtktooltipwindow.ui
index 127fa045e4..58f61ed5b5 100644
--- a/gtk/ui/gtktooltipwindow.ui
+++ b/gtk/ui/gtktooltipwindow.ui
@@ -13,6 +13,7 @@
</child>
<child>
<object class="GtkLabel" id="label">
+ <property name="hexpand">1</property>
<property name="wrap">1</property>
</object>
</child>