diff options
author | Christopher Davis <christopherdavis@gnome.org> | 2022-08-21 14:12:19 -0400 |
---|---|---|
committer | Marcus Lundblad <ml@dfupdate.se> | 2022-08-26 20:08:10 +0000 |
commit | dcbb32525a9a7b30e10436313300f4f3b4ca3308 (patch) | |
tree | f396f0ee04ce0a08e2c2da90061574d335e4b82f /data/ui | |
parent | 6b33f62d7577a74f58eb276ae65d25386b810712 (diff) | |
download | gnome-maps-dcbb32525a9a7b30e10436313300f4f3b4ca3308.tar.gz |
placePopover: Stop hardcoding height
Suggestion popovers should use the height of the entries
up to a certain point.
This commit removes the hardcoded height request and
sets a maximum height instead. This maximum value
is the same as the one from the Epiphany port.
Diffstat (limited to 'data/ui')
-rw-r--r-- | data/ui/place-popover.ui | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/ui/place-popover.ui b/data/ui/place-popover.ui index 46f5bcc3..5c45f8db 100644 --- a/data/ui/place-popover.ui +++ b/data/ui/place-popover.ui @@ -5,7 +5,6 @@ <property name="visible">False</property> <property name="hexpand">False</property> <property name="has-arrow">False</property> - <property name="height-request">320</property> <style> <class name="menu"/> </style> @@ -18,6 +17,8 @@ <child> <object class="GtkScrolledWindow" id="scrolledWindow"> <property name="hscrollbar_policy">never</property> + <property name="max-content-height">400</property> + <property name="propagate-natural-height">True</property> <property name="child"> <object class="GtkListBox" id="list"> <property name="hexpand">1</property> |