From 8f019e5fa992eac2c9a1e84311c990a943f80b01 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Fri, 23 Aug 2019 16:04:58 +0200 Subject: [PATCH] Set bigger scroll step for sidebar --- src/slic3r/GUI/Plater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index d03ac918a3..d33b858890 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -724,8 +724,8 @@ void Sidebar::priv::show_preset_comboboxes() Sidebar::Sidebar(Plater *parent) : wxPanel(parent, wxID_ANY, wxDefaultPosition, wxSize(40 * wxGetApp().em_unit(), -1)), p(new priv(parent)) { - p->scrolled = new wxScrolledWindow(this, wxID_ANY/*, wxDefaultPosition, wxSize(40 * wxGetApp().em_unit(), -1)*/); - p->scrolled->SetScrollbars(0, 20, 1, 2); + p->scrolled = new wxScrolledWindow(this); + p->scrolled->SetScrollbars(0, 100, 1, 2); // Sizer in the scrolled area