gtk/testsuite/reftests/listview-margin.ref.ui
Benjamin Otte be6a4722c0 listview: Measure children only, not self
The previous code would include CSS padding/margin/border in the
measurement and that is wrong.

Until commit a96c75ff02 this was not actually visible, but afterwards
listitems were allocated 16px too wide.

Test included
2023-02-19 05:41:29 +01:00

33 lines
926 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow">
<property name="decorated">0</property>
<property name="child">
<object class="GtkBox">
<style>
<class name="view"/>
</style>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label">One</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label">Two</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label">Three</property>
</object>
</child>
</object>
</property>
</object>
</interface>