Fix DrawViewAnnotation TextSize

- text size was originally specified in integer
  point size.  Now they are specified in mm. The
  relevant Properties have been changed to
  PropertyLength.
This commit is contained in:
WandererFan
2018-02-21 08:20:04 -05:00
committed by wmayer
parent 12f3258ded
commit c606bbbcba
4 changed files with 12 additions and 9 deletions

View File

@@ -30,6 +30,7 @@
#include <App/DocumentObject.h>
#include <App/PropertyLinks.h>
#include <App/PropertyStandard.h>
#include <App/PropertyUnits.h>
#include <App/FeaturePython.h>
#include "DrawView.h"
@@ -50,7 +51,7 @@ public:
App::PropertyStringList Text;
App::PropertyFont Font;
App::PropertyColor TextColor;
App::PropertyInteger TextSize;
App::PropertyLength TextSize;
App::PropertyInteger LineSpace;
App::PropertyEnumeration TextStyle; // Plain,Bold,Italic,Bold-Italic
App::PropertyFloat MaxWidth;