| <?xml version="1.0" encoding="UTF-8"?> |
| <interface> |
| <requires lib="gtk+" version="3.10"/> |
| <template class="UsernameRegistrationBox" parent="GtkGrid"> |
| <property name="column-spacing">10</property> |
| <property name="row-spacing">5</property> |
| <child> |
| <object class="GtkEntry" id="entry_username"> |
| <property name="visible">True</property> |
| <property name="editable">False</property> |
| <property name="max-width-chars">40</property> |
| <property name="placeholder-text" translatable="yes">enter username here</property> |
| <property name="xalign">0.5</property> |
| </object> |
| <packing> |
| <property name="left-attach">0</property> |
| <property name="top-attach">0</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkButton" id="button_register_username"> |
| <property name="visible">False</property> |
| <property name="no-show-all">True</property> |
| <property name="label" translatable="yes">Register</property> |
| </object> |
| <packing> |
| <property name="left-attach">1</property> |
| <property name="top-attach">0</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkSpinner" id="spinner"> |
| <property name="visible">False</property> |
| <property name="no-show-all">True</property> |
| <property name="halign">center</property> |
| </object> |
| <packing> |
| <property name="left-attach">2</property> |
| <property name="top-attach">0</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkImage" id="icon_username_availability"> |
| <property name="visible">True</property> |
| <property name="no-show-all">True</property> |
| <property name="halign">center</property> |
| </object> |
| <packing> |
| <property name="left-attach">2</property> |
| <property name="top-attach">0</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkLabel" id="label_status"> |
| <property name="visible">True</property> |
| <style> |
| <class name="dim-label"/> |
| </style> |
| </object> |
| <packing> |
| <property name="left-attach">0</property> |
| <property name="top-attach">1</property> |
| </packing> |
| </child> |
| </template> |
| </interface> |