Commit 5384d04f authored by Stefan Gerlach's avatar Stefan Gerlach

[locale] use number locale in more double spin boxes

parent bf2efb37
......@@ -423,6 +423,18 @@ void AxisDock::setAxes(QList<Axis*> list) {
labelWidget->setAxes(list);
SET_NUMBER_LOCALE
ui.sbLineWidth->setLocale(numberLocale);
ui.sbMajorTicksSpacingNumeric->setLocale(numberLocale);
ui.sbMajorTicksWidth->setLocale(numberLocale);
ui.sbMajorTicksLength->setLocale(numberLocale);
ui.sbMinorTicksSpacingNumeric->setLocale(numberLocale);
ui.sbMinorTicksWidth->setLocale(numberLocale);
ui.sbMinorTicksLength->setLocale(numberLocale);
ui.sbLabelsOffset->setLocale(numberLocale);
ui.sbMajorGridWidth->setLocale(numberLocale);
ui.sbMinorGridWidth->setLocale(numberLocale);
//if there are more then one axis in the list, disable the tab "general"
if (list.size() == 1) {
ui.lName->setEnabled(true);
......
......@@ -290,6 +290,12 @@ void CartesianPlotDock::setPlots(QList<CartesianPlot*> list) {
ui.sbTop->setLocale(numberLocale);
ui.sbWidth->setLocale(numberLocale);
ui.sbHeight->setLocale(numberLocale);
ui.sbBorderWidth->setLocale(numberLocale);
ui.sbBorderCornerRadius->setLocale(numberLocale);
ui.sbPaddingHorizontal->setLocale(numberLocale);
ui.sbPaddingVertical->setLocale(numberLocale);
ui.sbPaddingRight->setLocale(numberLocale);
ui.sbPaddingBottom->setLocale(numberLocale);
//if there is more then one plot in the list, disable the name and comment fields in the tab "general"
if (list.size() == 1) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment