diff options
author | James Westman <james@flyingpimonster.net> | 2020-03-12 12:52:10 -0500 |
---|---|---|
committer | Marcus Lundblad <ml@update.uu.se> | 2020-03-16 21:20:25 +0000 |
commit | a3be127cf840c96240c0229ef375e720bf4a0740 (patch) | |
tree | b0ca07dc29f43422c34f88dc5631e90c9058c0a5 /data | |
parent | 2501e1199cfae5fbce3ebe71ec38add3bcfad56a (diff) | |
download | gnome-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.ui | 13 |
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> |