mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
LibGUI: Implement calculated sizes for ValueSlider
This commit is contained in:
parent
b6d45f9c1f
commit
caf6dd5680
2 changed files with 27 additions and 2 deletions
|
@ -43,6 +43,10 @@ private:
|
|||
int value_at(Gfx::IntPoint position) const;
|
||||
Gfx::IntRect bar_rect() const;
|
||||
Gfx::IntRect knob_rect() const;
|
||||
int knob_length() const;
|
||||
|
||||
virtual Optional<UISize> calculated_min_size() const override;
|
||||
virtual Optional<UISize> calculated_preferred_size() const override;
|
||||
|
||||
String m_suffix {};
|
||||
Orientation m_orientation { Orientation::Horizontal };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue