diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 14:43:16 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 14:43:16 +0100 |
commit | dccf335d5b1aa06e44f9262c95b176c42ba2cf1e (patch) | |
tree | f426c8cabb635b49ebf6e4f59c3aa28aff42bee3 /DevTools/VisualBuilder | |
parent | 6a71ba1deb6cc34cfe22094207c70ec9996d1501 (diff) | |
download | serenity-dccf335d5b1aa06e44f9262c95b176c42ba2cf1e.zip |
LibGUI: Add HorizontalSlider and VerticalSlider convenience classes
Diffstat (limited to 'DevTools/VisualBuilder')
-rw-r--r-- | DevTools/VisualBuilder/VBWidgetRegistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/VisualBuilder/VBWidgetRegistry.cpp b/DevTools/VisualBuilder/VBWidgetRegistry.cpp index a62d24984e..076c2f7e9f 100644 --- a/DevTools/VisualBuilder/VBWidgetRegistry.cpp +++ b/DevTools/VisualBuilder/VBWidgetRegistry.cpp @@ -133,7 +133,7 @@ static RefPtr<GUI::Widget> build_gwidget(VBWidgetType type, GUI::Widget* parent) return bar; } case VBWidgetType::GSlider: { - auto slider = GUI::Slider::construct(Orientation::Horizontal, parent); + auto slider = GUI::HorizontalSlider::construct(parent); slider->set_range(0, 100); slider->set_value(50); return slider; |