Skip to content

Draft: popover: Reserve space for box-shadow

Alice Mikhaylenko requested to merge wip/exalm/popover-shadow into master

Screenshot_from_2021-01-03_19-24-06 Screenshot_from_2021-01-03_19-24-57

Screenshot_from_2021-01-03_19-26-12

Marking as draft since it's not complete, there are some unsolved issues:

In GtkDropDown, the popover is not full width:

Screenshot_from_2021-01-03_19-25-24

Not sure how to fix this one, since the dropdown allocates popover to a width matching itself. Maybe it could set the width of the list inside instead?

In GtkComboBox and also entry autocompletion the popover is offset as well:

Screenshot_from_2021-01-03_19-25-44

(It has halign=fill as opposed to halign=start)

And noticed at the last second, but while it handles GtkPopover:position correctly, it doesn't account for when a popover changes position to avoid going out of bounds.

Screenshot_from_2021-01-03_19-27-02

Fixes #1987 (closed)

Merge request reports