Commit 8b17476d authored by Adrien Plazas's avatar Adrien Plazas Committed by Alexander Mikhaylenko
Browse files

example: Vertically align the radio buttons

This prevents the radio buttons' focus lasso from being stupidly tall.
parent 46d77aa8
...@@ -880,6 +880,7 @@ ...@@ -880,6 +880,7 @@
<child type="prefix"> <child type="prefix">
<object class="GtkRadioButton" id="radio_button_1"> <object class="GtkRadioButton" id="radio_button_1">
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="valign">center</property>
<property name="visible">True</property> <property name="visible">True</property>
</object> </object>
</child> </child>
...@@ -894,6 +895,7 @@ ...@@ -894,6 +895,7 @@
<object class="GtkRadioButton" id="radio_button_2"> <object class="GtkRadioButton" id="radio_button_2">
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="group">radio_button_1</property> <property name="group">radio_button_1</property>
<property name="valign">center</property>
<property name="visible">True</property> <property name="visible">True</property>
</object> </object>
</child> </child>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment