gtk/testsuite/reftests/label-max-width-chars-and-halign-and-infinite-width.ref.ui
Benjamin Otte 53acff167b Revert "label: Never measure more than max-width-chars"
This reverts commit ba44e7a228.

The change was meant to revert to old GTK3 behavior but it actually
broke new GTK4 behavior that is in use where max-width-chars is used to
determine an ideal size, but where we don't want to limit the width to
that size.

So what happens is the reintroduction of GTK3-style lots of whitepsace
bugs, and we really don't want those.

We also don't want to break backwards compat if we can avoid it.

So let's revert this.

The reftest that was made for this purpose has been adapted.

Fixes #4399
2021-11-05 06:12:33 +01:00

19 lines
599 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" >
<property name="decorated">0</property>
<property name="width-request">200</property>
<child>
<object class="GtkLabel" >
<property name="halign">start</property>
<property name="valign">end</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">ABCDE ABCD</property>
<attributes>
<attribute name="font-desc" value="Monospace"></attribute>
</attributes>
</object>
</child>
</object>
</interface>