diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-01-28 10:32:19 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-01-28 13:07:26 -0500 |
commit | 1e9dbf2df06c80d62645f705b9d5ad5c37b8695f (patch) | |
tree | 958957c6687819b60b66fc1565f6221f77b269d2 /gtk/ui | |
parent | dce21f06ddbab1cdbd25621897df32b472fd72c7 (diff) | |
download | gtk+-1e9dbf2df06c80d62645f705b9d5ad5c37b8695f.tar.gz |
tooltip: Prevent too-wide tooltip windows
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
Diffstat (limited to 'gtk/ui')
-rw-r--r-- | gtk/ui/gtktooltipwindow.ui | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/ui/gtktooltipwindow.ui b/gtk/ui/gtktooltipwindow.ui index 2cecd58c73..d0fc9bc1c6 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> <property name="max-width-chars">50</property> </object> |