Commit 92726c71 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

savestate-listbox-row: Style labels with CSS

This is a bit cleaner.
parent c76a8f0f
......@@ -18,6 +18,15 @@
border-radius: 5px;
}
.savestate-name {
font-size: large;
}
.savestate-date {
opacity: 0.5;
font-size: small;
}
.savestates-list {
border-left: none;
border-right: none;
......
......@@ -28,10 +28,9 @@
<property name="wrap">true</property>
<property name="wrap-mode">word-char</property>
<property name="xalign">0</property>
<attributes>
<!-- "1.2" is the value of "large" -->
<attribute name="scale" value="1.2"/>
</attributes>
<style>
<class name="savestate-name"/>
</style>
</object>
</child>
<child>
......@@ -40,11 +39,8 @@
<property name="wrap">true</property>
<property name="xalign">0</property>
<style>
<class name="dim-label"/>
<class name="savestate-date"/>
</style>
<attributes>
<attribute name="scale" value="0.8"/>
</attributes>
</object>
</child>
</object>
......
......@@ -49,10 +49,10 @@
<property name="visible">True</property>
<property name="margin">12</property>
<property name="label" translatable="yes">Create new savestate</property>
<attributes>
<!-- "1.2" is the value of "large" -->
<attribute name="scale" value="1.2"/>
</attributes>
<property name="wrap">True</property>
<style>
<class name="savestate-name"/>
</style>
</object>
</child>
</object>
......
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