[gnome-games] savestates-list: Ensure popover fits into 360px
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] savestates-list: Ensure popover fits into 360px
- Date: Sun, 18 Aug 2019 15:40:18 +0000 (UTC)
commit e3f33ea7c5d14fb496041f1e65486a8127e5cc53
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun Aug 18 20:38:03 2019 +0500
savestates-list: Ensure popover fits into 360px
This is important, because it must fit into the phone screen.
Set entry's width-chars to a low value so that there's more space for the
rename button, and set a minimum width for the popover instead.
data/ui/savestates-list.ui | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/data/ui/savestates-list.ui b/data/ui/savestates-list.ui
index 4e838f65..d0a96aad 100644
--- a/data/ui/savestates-list.ui
+++ b/data/ui/savestates-list.ui
@@ -114,6 +114,7 @@
</template>
<object class="GtkPopover" id="rename_popover">
<property name="position">left</property>
+ <property name="width-request">360</property>
<child>
<object class="GtkBox">
<property name="visible">true</property>
@@ -138,7 +139,7 @@
<object class="GtkEntry" id="rename_entry">
<property name="visible">true</property>
<property name="hexpand">true</property>
- <property name="width-chars">21</property>
+ <property name="width-chars">1</property>
<signal name="activate" handler="on_rename_entry_activated"/>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]