mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibGUI: Use calculated_preferred_size for Progressbar default size
This commit is contained in:
parent
6d79d932f9
commit
f1271c7860
2 changed files with 11 additions and 0 deletions
|
@ -45,6 +45,8 @@ protected:
|
|||
virtual void paint_event(PaintEvent&) override;
|
||||
|
||||
private:
|
||||
virtual Optional<UISize> calculated_preferred_size() const override;
|
||||
|
||||
Format m_format { Percentage };
|
||||
int m_min { 0 };
|
||||
int m_max { 100 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue