1
Fork 0
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:
FrHun 2022-01-03 18:31:46 +01:00 committed by Sam Atkins
parent 19fac58e49
commit 3978960481
2 changed files with 20 additions and 5 deletions

View file

@ -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,