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

GTabWidget: Paint a frame around the container part of the widget.

Then make the active tab stand out by punching a hole in the frame below
its button.
This commit is contained in:
Andreas Kling 2019-05-05 15:03:34 +02:00
parent 4e1b36ddf2
commit 9e5ad25188
3 changed files with 19 additions and 6 deletions

View file

@ -11,6 +11,7 @@ public:
void set_active_widget(GWidget*);
int bar_height() const { return 22; }
int container_padding() const { return 2; }
void add_widget(const String&, GWidget*);