1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:27:43 +00:00

LibGUI: Allow construction of vertical GToolBars

There's currently a small paint glitch for vertical toolbars due to the
way StylePainter::paint_surface() draws a MidGray line at the bottom of
whatever a "surface" is supposed to be.
This commit is contained in:
Andreas Kling 2019-11-08 21:09:34 +01:00
parent d016d5e365
commit 0d2495e4e7
2 changed files with 14 additions and 3 deletions

View file

@ -18,6 +18,7 @@ public:
protected:
explicit GToolBar(GWidget* parent);
explicit GToolBar(Orientation, GWidget* parent);
virtual void paint_event(GPaintEvent&) override;