From 07d262d4b7bd4b1964888960431a947272c76804 Mon Sep 17 00:00:00 2001 From: Ivan Mahonin Date: Sep 24 2023 05:33:18 +0000 Subject: #assistants: tune spinner property --- diff --git a/toonz/sources/toonzqt/intfield.cpp b/toonz/sources/toonzqt/intfield.cpp index e9ad097..918f28e 100644 --- a/toonz/sources/toonzqt/intfield.cpp +++ b/toonz/sources/toonzqt/intfield.cpp @@ -309,8 +309,13 @@ IntField::IntField(QWidget *parent, bool isMaxRangeLimited, bool isRollerHide, if (isSpinnerHide) enableSpinner(false); - layout->addWidget(m_inc); + // TODO: + // Commonly in OpenToonz spin-buttons has been placed in that order: [+][-] + // This seems unusual behavior. + // And in this particular case buttons has been placed in another order: [-][+] + // We need to know what is better layout->addWidget(m_dec); + layout->addWidget(m_inc); m_slider = new QSlider(Qt::Horizontal, this); ret = ret && connect(m_slider, SIGNAL(valueChanged(int)), this,