summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJames Westman <james@flyingpimonster.net>2020-03-12 12:52:10 -0500
committerMarcus Lundblad <ml@update.uu.se>2020-03-16 21:20:25 +0000
commita3be127cf840c96240c0229ef375e720bf4a0740 (patch)
treeb0ca07dc29f43422c34f88dc5631e90c9058c0a5 /data
parent2501e1199cfae5fbce3ebe71ec38add3bcfad56a (diff)
downloadgnome-maps-a3be127cf840c96240c0229ef375e720bf4a0740.tar.gz
favoritesPopover: Minor style improvements
- Clean up margins/spacing: The margin in the popover is 6px and the spacing between the entry and listbox is also 6px - Remove the revealer around the search entry, and change the entry's visibility directly. You can't modify your favorites list from inside the popover anyway, so the reveal animation was never visible. - Fix the height calculation for the listbox Fixes #136.
Diffstat (limited to 'data')
-rw-r--r--data/ui/favorites-popover.ui13
1 files changed, 4 insertions, 9 deletions
diff --git a/data/ui/favorites-popover.ui b/data/ui/favorites-popover.ui
index 352084a4..7ee1bbb6 100644
--- a/data/ui/favorites-popover.ui
+++ b/data/ui/favorites-popover.ui
@@ -14,17 +14,12 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
+ <property name="row_spacing">6</property>
+ <property name="margin">6</property>
<child>
- <object class="GtkRevealer" id="revealer">
+ <object class="GtkEntry" id="entry">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GtkEntry" id="entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="margin">10</property>
- </object>
- </child>
+ <property name="can_focus">True</property>
</object>
</child>
<child>