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

LibGUI+LibGfx: Make scrollbar buttons a little bit thicker

The common thin-cap button look (1px highlight, 2px shadow) looks nice
on regular buttons, but the scrollbar didn't feel quite right.
This patch adds 1px of offset to the highlight, giving it a thick-cap
look (which I have named Gfx::ButtonStyle::ThickCap) :^)
This commit is contained in:
Andreas Kling 2021-08-30 23:29:29 +02:00
parent 087bd7f767
commit b8416df173
3 changed files with 14 additions and 8 deletions

View file

@ -13,6 +13,7 @@ namespace Gfx {
enum class ButtonStyle {
Normal,
ThickCap,
Coolbar,
Tray,
};