Commit 930ca780 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

savestates-list: Remove border

It gets in the way on mobile, and black background around the game ensures
contrast already.
parent 2a870dcb
Pipeline #103483 passed with stages
in 13 minutes and 48 seconds
......@@ -2,6 +2,9 @@
<interface>
<requires lib="gtk+" version="3.24"/>
<template class="GamesSavestatesList" parent="GtkBox">
<style>
<class name="solid-background"/>
</style>
<child>
<object class="GtkRevealer" id="revealer">
<property name="visible">True</property>
......@@ -10,92 +13,76 @@
<child>
<object class="GtkBox">
<property name="visible">True</property>
<style>
<class name="solid-background"/>
</style>
<property name="orientation">vertical</property>
<child>
<object class="GtkSeparator">
<object class="GtkScrolledWindow" id="scrolled_window">
<property name="visible">True</property>
<style>
<class name="sidebar"/>
</style>
</object>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="vexpand">True</property>
<property name="width-request">360</property>
<child>
<object class="GtkScrolledWindow" id="scrolled_window">
<object class="GtkListBox" id="list_box">
<property name="visible">True</property>
<property name="vexpand">True</property>
<property name="width-request">350</property>
<signal name="row-activated" after="yes" handler="on_row_activated"/>
<style>
<class name="sidebar"/>
</style>
<child>
<object class="GtkListBox" id="list_box">
<object class="GtkListBoxRow" id="new_savestate_row">
<property name="visible">True</property>
<signal name="row-activated" after="yes" handler="on_row_activated"/>
<style>
<class name="sidebar"/>
<class name="savestate-row"/>
</style>
<child>
<object class="GtkListBoxRow" id="new_savestate_row">
<object class="GtkBox">
<property name="visible">True</property>
<style>
<class name="savestate-row"/>
</style>
<child>
<object class="GtkBox">
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">list-add-symbolic</property>
<property name="pixel-size">32</property>
<style>
<class name="savestate-thumbnail"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">list-add-symbolic</property>
<property name="pixel-size">32</property>
<style>
<class name="savestate-thumbnail"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="margin">12</property>
<property name="label">Create new savestate</property>
<attributes>
<!-- "1.2" is the value of "large" -->
<attribute name="scale" value="1.2"/>
</attributes>
</object>
</child>
<property name="margin">12</property>
<property name="label">Create new savestate</property>
<attributes>
<!-- "1.2" is the value of "large" -->
<attribute name="scale" value="1.2"/>
</attributes>
</object>
</child>
</object>
</child>
<style>
<class name="savestates-list"/>
</style>
</object>
</child>
<style>
<class name="savestates-list"/>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="GtkActionBar">
<property name="visible">True</property>
<child>
<object class="GtkActionBar">
<object class="GtkButton" id="delete_btn">
<property name="visible">True</property>
<child>
<object class="GtkButton" id="delete_btn">
<property name="visible">True</property>
<property name="use-underline">True</property>
<property name="label" translatable="yes">_Delete</property>
<signal name="clicked" handler="on_delete_clicked"/>
<style>
<class name="destructive-action"/>
</style>
</object>
<packing>
<property name="pack-type">end</property>
</packing>
</child>
<property name="use-underline">True</property>
<property name="label" translatable="yes">_Delete</property>
<signal name="clicked" handler="on_delete_clicked"/>
<style>
<class name="destructive-action"/>
</style>
</object>
<packing>
<property name="pack-type">end</property>
</packing>
</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