From 286926d0c8132ea0c35cdcbca740f6ff702febe3 Mon Sep 17 00:00:00 2001 From: donovaly Date: Sun, 3 Nov 2019 14:36:11 +0100 Subject: [PATCH] [TD] DrawView.cpp: better tooltips - for the reason of the change, see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608 - also use "0.0" as initialization because these values are floats, not integers and e.g. in the mesh WB these are initialized that way --- src/Mod/TechDraw/App/DrawView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/TechDraw/App/DrawView.cpp b/src/Mod/TechDraw/App/DrawView.cpp index b1be4a73a1..afdb1684db 100644 --- a/src/Mod/TechDraw/App/DrawView.cpp +++ b/src/Mod/TechDraw/App/DrawView.cpp @@ -75,10 +75,10 @@ DrawView::DrawView(void): mouseMove(false) { static const char *group = "Base"; - ADD_PROPERTY_TYPE(X ,(0),group,App::Prop_None,"X position of the view on the page in internal units (mm)"); - ADD_PROPERTY_TYPE(Y ,(0),group,App::Prop_None,"Y position of the view on the page in internal units (mm)"); + ADD_PROPERTY_TYPE(X ,(0.0),group,App::Prop_None,"X position in internal units"); + ADD_PROPERTY_TYPE(Y ,(0.0),group,App::Prop_None,"Y position in internal units"); ADD_PROPERTY_TYPE(LockPosition ,(false),group,App::Prop_None,"Lock View position to parent Page or Group"); - ADD_PROPERTY_TYPE(Rotation ,(0),group,App::Prop_None,"Rotation of the view on the page in degrees counterclockwise"); + ADD_PROPERTY_TYPE(Rotation ,(0.0),group,App::Prop_None,"Rotation in degrees counterclockwise"); ScaleType.setEnums(ScaleTypeEnums); ADD_PROPERTY_TYPE(ScaleType,((long)0),group, App::Prop_None, "Scale Type");