Commit a14a85e1 authored by Mohammed Sadiq's avatar Mohammed Sadiq
Browse files

lockscreen: Fit lock screen to smaller displays

If the device has smaller screen (or if it is scaled) the widget shall
go beyond the visible area.  So let's place it relatively and avoid
top margin thus it fits better
parent fe4d5538
Pipeline #66995 passed with stages
in 51 minutes and 23 seconds
......@@ -224,9 +224,8 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="valign">end</property>
<property name="spacing">12</property>
<property name="margin_top">100</property>
<object class="GtkLabel" id="lbl_unlock_status">
<property name="visible">True</property>
......@@ -273,6 +272,7 @@
<property name="visible">True</property>
<property name="margin_start">16</property>
<property name="margin_end">16</property>
<property name="margin_bottom">16</property>
<property name="halign">center</property>
<object class="GtkButton" id="btn_emergency">
......@@ -308,8 +308,10 @@
<class name="phosh-lockscreen"/>
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