mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
4809efd630
Overflowing inscriptions should always align to the top, even when half an extra line is available.
50 lines
2.3 KiB
XML
50 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkWindow">
|
|
<property name="default-width">200</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="homogeneous">1</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes">THIS
|
|
HIGH</property>
|
|
<attributes>
|
|
<attribute name="line-height" value="1.25" />
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInscription">
|
|
<property name="text" translatable="yes">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</property>
|
|
<property name="text-overflow">clip</property>
|
|
<property name="yalign">0.0</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInscription">
|
|
<property name="text" translatable="yes">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</property>
|
|
<property name="text-overflow">ellipsize-start</property>
|
|
<property name="yalign">0.0</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInscription">
|
|
<property name="text" translatable="yes">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</property>
|
|
<property name="text-overflow">ellipsize-middle</property>
|
|
<property name="yalign">0.0</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInscription">
|
|
<property name="text" translatable="yes">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</property>
|
|
<property name="text-overflow">ellipsize-end</property>
|
|
<property name="yalign">0.0</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|