diff options
author | Marcus Lundblad <ml@dfupdate.se> | 2023-01-10 21:54:00 +0100 |
---|---|---|
committer | Marcus Lundblad <ml@dfupdate.se> | 2023-01-17 22:53:47 +0100 |
commit | b8386bf07a4bcf9c8047940972cdab64260f9af1 (patch) | |
tree | b408a811078f2ad721b1717333d2426d5220b9cf /data/ui | |
parent | 05e26e670a3449374de7f9379e1f44a8491d2206 (diff) | |
download | gnome-maps-b8386bf07a4bcf9c8047940972cdab64260f9af1.tar.gz |
placePopover, placeListRow: Use custom margins instead of libadwaita menu style
The "menu" style currently has the effect of not showing the selected item
in the GtkListBox, which makes selecting a result row with keyboard navigation
invisible.
https://gitlab.gnome.org/GNOME/libadwaita/-/issues/624
Diffstat (limited to 'data/ui')
-rw-r--r-- | data/ui/place-list-row.ui | 10 | ||||
-rw-r--r-- | data/ui/place-popover.ui | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/data/ui/place-list-row.ui b/data/ui/place-list-row.ui index a13ef944..b6837055 100644 --- a/data/ui/place-list-row.ui +++ b/data/ui/place-list-row.ui @@ -6,12 +6,18 @@ <relation name="labelled-by">name</relation> <relation name="described-by">details</relation> </accessibility> + <property name="margin-top">6</property> + <property name="margin-bottom">6</property> <property name="child"> <object class="GtkBox"> <property name="spacing">6</property> <child> <object class="GtkImage" id="icon"> <property name="valign">center</property> + <property name="margin-top">6</property> + <property name="margin-bottom">6</property> + <property name="margin-start">6</property> + <property name="margin-end">6</property> </object> </child> <child> @@ -45,6 +51,10 @@ <property name="halign">end</property> <property name="valign">center</property> <property name="hexpand">True</property> + <property name="margin-top">6</property> + <property name="margin-bottom">6</property> + <property name="margin-start">6</property> + <property name="margin-end">6</property> </object> </child> </object> diff --git a/data/ui/place-popover.ui b/data/ui/place-popover.ui index 0d3745b5..2501ada1 100644 --- a/data/ui/place-popover.ui +++ b/data/ui/place-popover.ui @@ -6,9 +6,6 @@ <property name="hexpand">False</property> <property name="has-arrow">False</property> <property name="autohide">False</property> - <style> - <class name="menu"/> - </style> <property name="child"> <object class="GtkStack" id="stack"> <property name="transition-type">crossfade</property> |