diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2022-09-04 19:48:37 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-09-08 10:17:27 +0100 |
commit | 35e557c6570f1e2a6e892b78136822af41a1b126 (patch) | |
tree | 584aec9224a7a1c7b2a5643b0d91710c8d56e2d2 /Meta | |
parent | 0fc1925cd718083665ecb478e827004136c22800 (diff) | |
download | serenity-35e557c6570f1e2a6e892b78136822af41a1b126.zip |
Browser+LibGUI+WindowServer: Open Button menus uniformly
Instead of letting buttons determine the relative position
of their menus, a workaround only used by Statusbar segments,
open them all uniformly for a nice, consistent UI.
Passing a rect to popup() now routes to open_button_menu(), an
analog to open_menubar_menu(), which adjusts the menu's popup
position in the same way. Fixes button menus obscuring the buttons
which spawn them and jutting out at odd corners depending on screen
position.
Diffstat (limited to 'Meta')
0 files changed, 0 insertions, 0 deletions