gtk2/testsuite/reftests/center-center-300x300-picture-in-100x200.ui
Marco Melorio d8a73cbd03 picture: Add content-fit property
It allows to specify the resize mode of the paintable inside the
GtkPicture allocation. This also deprecates the keep-aspect-ratio
property.

Fixes #5027.
2022-07-15 23:01:23 +02:00

18 lines
591 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow">
<property name="default-width">100</property>
<property name="default-height">200</property>
<property name="decorated">0</property>
<child>
<object class="GtkPicture">
<property name="paintable">green-300x300.png</property>
<property name="content-fit">fill</property>
<property name="can-shrink">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
</child>
</object>
</interface>