From a7b2caecfc274ea8a6571071e57d459700227e06 Mon Sep 17 00:00:00 2001 From: Jeremy HU Date: Fri, 4 Nov 2022 22:07:20 +1100 Subject: [PATCH] Update slider control size --- application/sources/float_number_widget.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/sources/float_number_widget.cc b/application/sources/float_number_widget.cc index ef31e320..b03e8f69 100644 --- a/application/sources/float_number_widget.cc +++ b/application/sources/float_number_widget.cc @@ -9,7 +9,7 @@ FloatNumberWidget::FloatNumberWidget(QWidget* parent, bool singleLine) { m_slider = new QSlider(Qt::Horizontal, this); m_slider->setRange(0, 100); - m_slider->setFixedWidth(240); + m_slider->setFixedWidth(Theme::sidebarPreferredWidth * 0.6); m_label = new QLabel(this); m_label->setAlignment(Qt::AlignLeft);