projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce21f0
)
tooltip: Prevent too-wide tooltip windows
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 28 Jan 2023 15:32:19 +0000
(10:32 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 28 Jan 2023 18:07:26 +0000
(13:07 -0500)
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
gtk/ui/gtktooltipwindow.ui
patch
|
blob
|
history
diff --git
a/gtk/ui/gtktooltipwindow.ui
b/gtk/ui/gtktooltipwindow.ui
index 2cecd58c73c49200a7ac03cd0551c72f1eb8f04b..d0fc9bc1c6e1b330b5b6099a00efd71afe420250 100644
(file)
--- 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>