summaryrefslogtreecommitdiff
path: root/Base/usr
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-09-04 19:48:37 -0400
committerLinus Groh <mail@linusgroh.de>2022-09-08 10:17:27 +0100
commit35e557c6570f1e2a6e892b78136822af41a1b126 (patch)
tree584aec9224a7a1c7b2a5643b0d91710c8d56e2d2 /Base/usr
parent0fc1925cd718083665ecb478e827004136c22800 (diff)
downloadserenity-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 'Base/usr')
0 files changed, 0 insertions, 0 deletions