Skip to content

SearchPopupField: Set bottomMargin to prevent vertical out-of-bounds

ivan tkachenko requested to merge work/ratijas/search-field-bottom-margin into master

By default all margins are set to -1, which in terms of Popup Positioner means that popup's bounds won't be checked and pushed inside window's bounds. Setting bottom margin to 0 prevents popup from being too tall for small windows (like the one in scratchpad in which I'm testing it).


Width a window 400x400 px

Before: image

After:

image

Merge request reports

Loading