mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
981ed22dff
Allows influencing natural size requests so that labels can request more width than necessary for a given height. Related: !4245 Related: #4535
31 lines
784 B
XML
31 lines
784 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkWindow">
|
|
<property name="default-width">600</property>
|
|
<property name="default-height">300</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="halign">center</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label">lots
|
|
of
|
|
lines</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label">unwrappable
|
|
words</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label">single line of text</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|