Commit f9e0a3f0 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

librem5: app-row: Make vertical

parent 4f82d727
......@@ -7,16 +7,24 @@
<class name="list-box-app-row"/>
</style>
<child>
<object class="GtkBox" id="box">
<object class="GtkBox" id="vbox">
<property name="visible">True</property>
<property name="margin_top">16</property>
<property name="margin_bottom">16</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<property name="spacing">16</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="box">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="spacing">12</property>
<child>
<object class="GtkImage" id="image">
<property name="visible">True</property>
<property name="pixel_size">64</property>
<property name="margin_start">24</property>
<property name="margin_start">12</property>
<property name="valign">center</property>
</object>
</child>
......@@ -24,14 +32,12 @@
<object class="GtkBox" id="name_box">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="margin-start">12</property>
<property name="spacing">6</property>
<property name="valign">center</property>
<child>
<object class="GtkLabel" id="name_label">
<property name="visible">True</property>
<property name="wrap">True</property>
<property name="max_width_chars">20</property>
<property name="xalign">0.0</property>
<property name="yalign">0.5</property>
<property name="ellipsize">end</property>
......@@ -85,6 +91,76 @@
</child>
</object>
</child>
<child>
<object class="GtkBox" id="vertical_box">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="halign">center</property>
<property name="valign">center</property>
<child>
<object class="GtkBox" id="button_box">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="halign">end</property>
<property name="valign">center</property>
<child>
<object class="GsProgressButton" id="button">
<property name="visible">False</property>
<property name="width_request">100</property>
<property name="halign">end</property>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
<child>
<object class="GtkSpinner" id="spinner">
<property name="visible">False</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<property name="halign">end</property>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label">
<property name="visible">False</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<property name="halign">end</property>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</object>
</child>
<child>
<object class="GtkLabel" id="label_app_size">
<property name="visible">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="vexpand">True</property>
<property name="label">150 MB</property>
<property name="margin-top">6</property>
<style>
<class name="app-row-app-size"/>
<class name="dim-label"/>
</style>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="description_box">
<property name="visible">True</property>
......@@ -98,8 +174,6 @@
<property name="visible">True</property>
<property name="valign">start</property>
<property name="vexpand">True</property>
<property name="margin_start">24</property>
<property name="margin_end">24</property>
<property name="wrap">True</property>
<property name="wrap-mode">word-char</property>
<property name="ellipsize">end</property>
......@@ -185,72 +259,6 @@
</child>
</object>
</child>
<child>
<object class="GtkBox" id="vertical_box">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="margin-right">6</property>
<child>
<object class="GtkBox" id="button_box">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="halign">end</property>
<property name="valign">center</property>
<child>
<object class="GsProgressButton" id="button">
<property name="visible">False</property>
<property name="width_request">100</property>
<property name="halign">end</property>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
<child>
<object class="GtkSpinner" id="spinner">
<property name="visible">False</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<property name="halign">end</property>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label">
<property name="visible">False</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<property name="halign">end</property>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</object>
</child>
<child>
<object class="GtkLabel" id="label_app_size">
<property name="visible">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="vexpand">True</property>
<property name="label">150 MB</property>
<property name="margin-top">6</property>
<style>
<class name="app-row-app-size"/>
<class name="dim-label"/>
</style>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</template>
......
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