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

LibGUI: Hide ResizeCorner in StatusBar when window is maximized

Fully expands status bars when maximized and prevents maximized
windows from being erroneously resized.
This commit is contained in:
thankyouverycool 2020-08-30 15:13:17 -04:00 committed by Andreas Kling
parent 72deaa3423
commit 199c1da31c
2 changed files with 10 additions and 0 deletions

View file

@ -43,6 +43,7 @@ public:
protected:
explicit StatusBar(int label_count = 1);
virtual void paint_event(PaintEvent&) override;
virtual void resize_event(ResizeEvent&) override;
private:
NonnullRefPtr<Label> create_label();