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

WindowServer: Add a bunch of horizontal padding to menu items.

All right, this looks a lot nicer. :^)
This commit is contained in:
Andreas Kling 2019-02-11 14:14:49 +01:00
parent 3c863e0ffa
commit 8d0bfa62fd
2 changed files with 11 additions and 8 deletions

View file

@ -48,7 +48,10 @@ public:
int height() const;
int item_height() const { return 16; }
int padding() const { return 4; }
int vertical_padding() const { return 4; }
int horizontal_padding() const { return left_padding() + right_padding(); }
int left_padding() const { return 14; }
int right_padding() const { return 14; }
void on_window_message(WSMessage&);
void draw();