mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
50e0893497
If halign=fill, force adjustment to height-for-width. If valign=fill, force adjustment to width-for-height. Otherwise look at request mode. This way we don't try to adapt the filled dimension and only adjust the one that is not set to fill.
16 lines
488 B
XML
16 lines
488 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk40">
|
|
<object class="GtkWindow">
|
|
<property name="default-width">300</property>
|
|
<property name="default-height">300</property>
|
|
<property name="decorated">0</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="halign">center</property>
|
|
<property name="label">Hello World</property>
|
|
<property name="wrap">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|