gtk/testsuite/reftests/wrap-margin-align-critical.ui
Benjamin Otte 7459d430eb widget: Don't forget margins when adjusting
This could lead to the wrong values being passed and computing invalid
sizes which would then lead to very unhappy code.

Test included.
2021-11-19 23:46:59 +01:00

22 lines
685 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="GtkBox">
<property name="halign">center</property>
<property name="margin-start">50</property>
<property name="margin-end">50</property>
<child>
<object class="GtkLabel">
<property name="label">Hello World</property>
<property name="wrap">True</property>
</object>
</child>
</object>
</child>
</object>
</interface>