forked from AuroraMiddleware/gtk
c92b7d4224
GtkWidget:halign and GtkWidget:valign are sufficient
124 lines
4.2 KiB
XML
124 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="can_focus">False</property>
|
|
<property name="type">popup</property>
|
|
<child>
|
|
<object class="GtkBox" id="box">
|
|
<property name="orientation">vertical</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<!-- spacing -->
|
|
<object class="GtkBox" id="box0">
|
|
<property name="orientation">horizontal</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">20</property>
|
|
<child>
|
|
<object class="GtkLabel" id="one">
|
|
<property name="visible">True</property>
|
|
<property name="label">One</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="two">
|
|
<property name="visible">True</property>
|
|
<property name="label">Two</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="three">
|
|
<property name="visible">True</property>
|
|
<property name="label">Three</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
</packing>
|
|
</child>
|
|
|
|
<child>
|
|
<!-- homogeneous -->
|
|
<object class="GtkBox" id="box1">
|
|
<property name="orientation">horizontal</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">0</property>
|
|
<property name="homogeneous">True</property>
|
|
<child>
|
|
<object class="GtkLabel" id="long">
|
|
<property name="visible">True</property>
|
|
<property name="label">Verylongtext</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="short">
|
|
<property name="visible">True</property>
|
|
<property name="label">Short</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
</packing>
|
|
</child>
|
|
|
|
<child>
|
|
<!-- expand -->
|
|
<object class="GtkBox" id="box2">
|
|
<property name="orientation">horizontal</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkLabel" id="a">
|
|
<property name="visible">True</property>
|
|
<property name="label">A</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="b">
|
|
<property name="visible">True</property>
|
|
<property name="label">B</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="c">
|
|
<property name="visible">True</property>
|
|
<property name="label">C</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
</packing>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|