summaryrefslogtreecommitdiff
path: root/Userland/Services/Taskbar
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-04-02 22:53:58 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-02 23:33:17 +0200
commit6ba00ae5b934c33a4ff2de7ed41619a3acf6ca04 (patch)
tree81027fb0f6b7f7146fe439b541b9d38f349a628d /Userland/Services/Taskbar
parent05d7869dc05779c003ec2c05a647ea980c6650eb (diff)
downloadserenity-6ba00ae5b934c33a4ff2de7ed41619a3acf6ca04.zip
LibGUI: Subtract layout margin when placing items along secondary axis
While space distribution along the primary axis of a BoxLayout is pretty sophisticated, the secondary axis is very simple: we simply center the widget. However, this doesn't always look very nice if we don't take margins into account, so make sure we subtract them from the rect we do all the centering within.
Diffstat (limited to 'Userland/Services/Taskbar')
0 files changed, 0 insertions, 0 deletions