Commit 4fe17942 authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther
Browse files

lockscreen: Move date, time and icons into a common box



This allows spacing.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 7f3ac718
......@@ -85,85 +85,45 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_homogeneous">True</property>
<child>
<object class="GtkLabel" id="lbl_clock">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">end</property>
<property name="hexpand">True</property>
<property name="vexpand">False</property>
<property name="label">00:00</property>
<property name="single_line_mode">True</property>
<property name="track_visited_links">False</property>
<property name="margin_bottom">18</property>
<style>
<class name="phosh-lockscreen-clock"/>
</style>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="height">2</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="orientation">vertical</property>
<child>
<object class="PhoshWWanInfo" id="wwaninfo">
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="halign">end</property>
<property name="hexpand">False</property>
<property name="use_fallback">True</property>
<property name="margin_left">6</property>
<property name="margin_right">6</property>
<property name="size">24</property>
<property name="valign">end</property>
<property name="margin_top">6</property>
<property name="margin_bottom">32</property>
<property name="label" translatable="yes">Slide up to unlock</property>
<style>
<class name="dim-label"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="PhoshWifiInfo" id="wifiinfo">
<property name="visible">False</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="halign">end</property>
<property name="hexpand">False</property>
<property name="pixel_size">24</property>
<property name="use_fallback">True</property>
<property name="margin_left">6</property>
<property name="margin_right">6</property>
<property name="no_show_all">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="PhoshBatteryInfo" id="batteryinfo">
<object class="GtkImage" id="lock-arrow">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="halign">end</property>
<property name="hexpand">False</property>
<property name="pixel_size">24</property>
<property name="use_fallback">True</property>
<property name="margin_left">6</property>
<property name="margin_right">6</property>
<property name="icon_name">swipe-arrow-symbolic</property>
<style>
<class name="phosh-lockscreen-arrow"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">2</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
......@@ -176,60 +136,121 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">end</property>
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<object class="GtkLabel">
<object class="GtkLabel" id="lbl_clock">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">end</property>
<property name="margin_top">6</property>
<property name="margin_bottom">32</property>
<property name="label" translatable="yes">Slide up to unlock</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="vexpand">False</property>
<property name="label">00:00</property>
<property name="single_line_mode">True</property>
<property name="track_visited_links">False</property>
<style>
<class name="dim-label"/>
<class name="phosh-lockscreen-clock"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkImage" id="lock-arrow">
<object class="GtkLabel" id="lbl_date">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">24</property>
<property name="icon_name">swipe-arrow-symbolic</property>
<style>
<class name="phosh-lockscreen-arrow"/>
</style>
<property name="valign">center</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="margin_top">10</property>
<child>
<object class="PhoshWWanInfo" id="wwaninfo">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="halign">end</property>
<property name="hexpand">False</property>
<property name="use_fallback">True</property>
<property name="margin_left">6</property>
<property name="margin_right">6</property>
<property name="size">24</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="PhoshWifiInfo" id="wifiinfo">
<property name="visible">False</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="halign">end</property>
<property name="hexpand">False</property>
<property name="pixel_size">24</property>
<property name="use_fallback">True</property>
<property name="margin_left">6</property>
<property name="margin_right">6</property>
<property name="no_show_all">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="PhoshBatteryInfo" id="batteryinfo">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="halign">end</property>
<property name="hexpand">False</property>
<property name="pixel_size">24</property>
<property name="use_fallback">True</property>
<property name="margin_left">6</property>
<property name="margin_right">6</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">4</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="lbl_date">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="label" translatable="yes"></property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
</packing>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
</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