Commit 53496c39 authored by Adrien Plazas's avatar Adrien Plazas

loading-page: Make it adaptive

Make it work well on desktops and phones alike.
parent ad55246c
......@@ -18,6 +18,13 @@
<class name="dim-label"/>
</style>
<child type="center">
<object class="HdyClamp">
<property name="visible">True</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<property name="tightening_threshold">336</property>
<property name="maximum_size">480</property>
<child>
<object class="GtkBox" id="centerbox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
......@@ -32,8 +39,6 @@
<child>
<object class="GtkProgressBar" id="progressbar">
<property name="visible">True</property>
<property name="width_request">480</property>
<property name="halign">center</property>
<property name="fraction">0.0</property>
<property name="margin_top">8</property>
<style>
......@@ -44,7 +49,10 @@
<child>
<object class="GtkLabel" id="label">
<property name="visible">True</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Starting up…</property>
<property name="wrap">True</property>
<property name="wrap-mode">word-char</property>
<attributes>
<attribute name="scale" value="1.4"/>
</attributes>
......@@ -52,6 +60,8 @@
</child>
</object>
</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