mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
WindowServer: Improve the look of menus.
This patch makes menus stand out a bit more from their background by using the same kind of shading that Windows 2000 had.
This commit is contained in:
parent
311019d8ee
commit
86361d3d45
6 changed files with 32 additions and 18 deletions
|
@ -55,7 +55,7 @@ public:
|
|||
int height() const;
|
||||
|
||||
int item_height() const { return 18; }
|
||||
int vertical_padding() const { return 4; }
|
||||
int frame_thickness() const { return 2; }
|
||||
int horizontal_padding() const { return left_padding() + right_padding(); }
|
||||
int left_padding() const { return 14; }
|
||||
int right_padding() const { return 14; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue