mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
LibGUI: Implement new layout system for Scrollbar
This commit is contained in:
parent
19fac58e49
commit
3978960481
2 changed files with 20 additions and 5 deletions
|
@ -40,6 +40,9 @@ public:
|
|||
virtual void increase_slider_by_steps(int steps) override { set_target_value(m_target_value + step() * steps); }
|
||||
virtual void decrease_slider_by_steps(int steps) override { set_target_value(m_target_value - step() * steps); }
|
||||
|
||||
virtual Optional<UISize> calculated_min_size() const override;
|
||||
virtual Optional<UISize> calculated_preferred_size() const override;
|
||||
|
||||
enum Component {
|
||||
None,
|
||||
DecrementButton,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue