Refactor: Simplify PrefsPage UI file and get rid of InternalChildren

This commit is contained in:
June 2023-01-22 21:12:05 +01:00
commit f7309e7f65
No known key found for this signature in database
GPG key ID: 094C2AC34192FA11
2 changed files with 30 additions and 50 deletions

View file

@ -6,56 +6,41 @@
<property name="title">Item Order</property>
<property name="description">Simply use drag and drop to order the items any way you want.</property>
<child>
<object class="GtkBox" id="left-box">
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="label">Left Top Bar Box</property>
<property name="halign">start</property>
<property name="margin-bottom">12</property>
</object>
</child>
<child>
<object class="PrefsBoxOrderListBox">
<property name="box-order">left-box-order</property>
</object>
</child>
<object class="GtkLabel">
<property name="label">Left Top Bar Box</property>
<property name="halign">start</property>
<property name="margin-bottom">12</property>
</object>
</child>
<child>
<object class="GtkBox" id="center-box">
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="label">Center Top Bar Box</property>
<property name="halign">start</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
</object>
</child>
<child>
<object class="PrefsBoxOrderListBox">
<property name="box-order">center-box-order</property>
</object>
</child>
<object class="PrefsBoxOrderListBox">
<property name="box-order">left-box-order</property>
</object>
</child>
<child>
<object class="GtkBox" id="right-box">
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="label">Right Top Bar Box</property>
<property name="halign">start</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
</object>
</child>
<child>
<object class="PrefsBoxOrderListBox">
<property name="box-order">right-box-order</property>
</object>
</child>
<object class="GtkLabel">
<property name="label">Center Top Bar Box</property>
<property name="halign">start</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
</object>
</child>
<child>
<object class="PrefsBoxOrderListBox">
<property name="box-order">center-box-order</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label">Right Top Bar Box</property>
<property name="halign">start</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
</object>
</child>
<child>
<object class="PrefsBoxOrderListBox">
<property name="box-order">right-box-order</property>
</object>
</child>
</object>