diff --git a/src/Mod/Sketcher/Gui/SketcherSettings.cpp b/src/Mod/Sketcher/Gui/SketcherSettings.cpp
index 322fd78cab..cef95407e2 100644
--- a/src/Mod/Sketcher/Gui/SketcherSettings.cpp
+++ b/src/Mod/Sketcher/Gui/SketcherSettings.cpp
@@ -147,6 +147,7 @@ SketcherSettingsDisplay::~SketcherSettingsDisplay()
void SketcherSettingsDisplay::saveSettings()
{
ui->EditSketcherFontSize->onSave();
+ ui->viewScalingFactor->onSave();
ui->SegmentsPerGeometry->onSave();
ui->dialogOnDistanceConstraint->onSave();
ui->continueMode->onSave();
@@ -166,6 +167,7 @@ void SketcherSettingsDisplay::saveSettings()
void SketcherSettingsDisplay::loadSettings()
{
ui->EditSketcherFontSize->onRestore();
+ ui->viewScalingFactor->onRestore();
ui->SegmentsPerGeometry->onRestore();
ui->dialogOnDistanceConstraint->onRestore();
ui->continueMode->onRestore();
diff --git a/src/Mod/Sketcher/Gui/SketcherSettingsDisplay.ui b/src/Mod/Sketcher/Gui/SketcherSettingsDisplay.ui
index 4fd3814ea9..a02ea56599 100644
--- a/src/Mod/Sketcher/Gui/SketcherSettingsDisplay.ui
+++ b/src/Mod/Sketcher/Gui/SketcherSettingsDisplay.ui
@@ -33,7 +33,7 @@
Sketch editing
- -
+
-
A dialog will pop up to input a value for new dimensional constraints
@@ -52,14 +52,14 @@
- -
+
-
Segments per geometry
- -
+
-
Current constraint creation tool will remain active after creation
@@ -78,7 +78,7 @@
- -
+
-
Line pattern used for grid lines
@@ -88,7 +88,7 @@
- -
+
-
Base length units will not be displayed in constraints.
@@ -118,7 +118,7 @@ Supports all unit systems except 'US customary' and 'Building US/Euro'.
- -
+
-
true
@@ -290,7 +290,7 @@ Supports all unit systems except 'US customary' and 'Building US/Euro'.
- -
+
-
Current sketcher creation tool will remain active after creation
@@ -309,14 +309,14 @@ Supports all unit systems except 'US customary' and 'Building US/Euro'.
- -
+
-
Grid line pattern
- -
+
-
Number of polygons for geometry approximation
@@ -335,6 +335,50 @@ Supports all unit systems except 'US customary' and 'Building US/Euro'.
+ -
+
+
+
+ 182
+ 0
+
+
+
+ View scale ratio
+
+
+
+ -
+
+
+ The 3D view is scaled based on this factor
+
+
+ Qt::ImhPreferNumbers
+
+
+ 2
+
+
+ 0.500000000000000
+
+
+ 5.000000000000000
+
+
+ 0.050000000000000
+
+
+ 1.000000000000000
+
+
+ ViewScalingFactor
+
+
+ View
+
+
+
@@ -351,6 +395,11 @@ Supports all unit systems except 'US customary' and 'Building US/Euro'.
QCheckBox
+
+ Gui::PrefDoubleSpinBox
+ QDoubleSpinBox
+
+
EditSketcherFontSize