mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 15:01:23 +00:00
53acff167b
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
19 lines
599 B
XML
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>
|