[Gui][Mod]: uniform spin button step size to 5%

- as discussed here: https://github.com/FreeCAD/FreeCAD/pull/7103 we have different transparency spin button step sizes. This PR uniforms them all to 5%.
This commit is contained in:
Uwe
2022-11-06 03:46:19 +01:00
parent d91de9ceb2
commit cef5c5c11c
5 changed files with 82 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@@ -234,7 +234,7 @@ QIcon ViewProviderExport::getIcon() const
App::PropertyFloatConstraint::Constraints ViewProviderMesh::floatRange = {1.0f, 64.0f, 1.0f};
App::PropertyFloatConstraint::Constraints ViewProviderMesh::angleRange = {0.0f, 180.0f, 1.0f};
App::PropertyIntegerConstraint::Constraints ViewProviderMesh::intPercent = {0, 100, 1};
App::PropertyIntegerConstraint::Constraints ViewProviderMesh::intPercent = {0, 100, 5};
const char* ViewProviderMesh::LightingEnums[]= {"One side", "Two side", nullptr};
PROPERTY_SOURCE(MeshGui::ViewProviderMesh, Gui::ViewProviderGeometryObject)

View File

@@ -96,7 +96,7 @@
<number>100</number>
</property>
<property name="singleStep">
<number>10</number>
<number>5</number>
</property>
<property name="prefEntry" stdset="0">
<cstring>DefaultShapeTransparency</cstring>