1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:47:45 +00:00

Taskbar+LibGUI+WindowServer: Shrink taskbar by one pixel

Make the taskbar 27 pixels tall instead of 28. This makes the button
icons and applets vertically centered.

On a related note, this required touching *way* too many places..
This commit is contained in:
Andreas Kling 2021-05-09 00:07:44 +02:00
parent fbe6c275c9
commit 9d8aa2a57a
5 changed files with 9 additions and 9 deletions

View file

@ -16,7 +16,7 @@ class TaskbarWindow final : public GUI::Window {
public:
virtual ~TaskbarWindow() override;
static int taskbar_height() { return 28; }
static int taskbar_height() { return 27; }
private:
explicit TaskbarWindow(NonnullRefPtr<GUI::Menu> start_menu);