Commit 31f72cdf authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

savestate-listbox-row: Tweak layout

Increase margin around thumbnail, reduce margins around the labels.
Position the labels using vexpand and y-align, and reduce spacing, so that
the layout is same as currently when the name has just one line, but avoid
uneven spacing with multi-line.
parent 92726c71
Pipeline #104891 passed with stages
in 13 minutes and 55 seconds
......@@ -14,7 +14,7 @@
color: rgba(255, 255, 255, 0.5);
background: rgba (0, 0, 0, .5);
border: 1px solid rgba (0, 0, 0, .5);
margin: 4px;
margin: 6px;
border-radius: 5px;
}
......
......@@ -19,15 +19,20 @@
<object class="GtkBox">
<property name="visible">true</property>
<property name="orientation">vertical</property>
<property name="margin">12</property>
<property name="spacing">12</property>
<property name="valign">center</property>
<property name="margin-start">6</property>
<property name="margin-top">3</property>
<property name="margin-bottom">6</property>
<property name="margin-end">3</property>
<property name="spacing">6</property>
<property name="vexpand">True</property>
<child>
<object class="GtkLabel" id="name_label">
<property name="visible">true</property>
<property name="wrap">true</property>
<property name="wrap-mode">word-char</property>
<property name="xalign">0</property>
<property name="yalign">0.75</property>
<property name="vexpand">True</property>
<style>
<class name="savestate-name"/>
</style>
......@@ -38,6 +43,8 @@
<property name="visible">true</property>
<property name="wrap">true</property>
<property name="xalign">0</property>
<property name="yalign">0.25</property>
<property name="vexpand">True</property>
<style>
<class name="savestate-date"/>
</style>
......
......@@ -47,7 +47,10 @@
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="margin">12</property>
<property name="margin-start">6</property>
<property name="margin-top">3</property>
<property name="margin-bottom">3</property>
<property name="margin-end">3</property>
<property name="label" translatable="yes">Create new savestate</property>
<property name="wrap">True</property>
<style>
......
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