mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
cce6a603a6
Having a short text and a large max-width-chars should request the natural width of the text, not the limit from max-width-chars. This caused huge message dialogs. Reftests added.
14 lines
401 B
XML
14 lines
401 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="decorated">0</property>
|
|
<child>
|
|
<object class="GtkLabel" id="label1">
|
|
<property name="label">Hello World</property>
|
|
<property name="max-width-chars">1000</property>
|
|
<property name="wrap">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|