mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 19:28:48 +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:
parent
72deaa3423
commit
199c1da31c
Notes:
sideshowbarker
2024-07-19 02:58:38 +09:00
Author: https://github.com/thankyouverycool
Commit: 199c1da31c
Pull-request: https://github.com/SerenityOS/serenity/pull/3358
Reviewed-by: https://github.com/awesomekling ✅
2 changed files with 10 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue