Include osifont in TechDraw
- also use PropertyFont instead of PropertyString
This commit is contained in:
@@ -48,7 +48,7 @@ public:
|
||||
virtual ~DrawViewAnnotation();
|
||||
|
||||
App::PropertyStringList Text;
|
||||
App::PropertyString Font;
|
||||
App::PropertyFont Font;
|
||||
App::PropertyColor TextColor;
|
||||
App::PropertyInteger TextSize;
|
||||
App::PropertyInteger LineSpace;
|
||||
|
||||
@@ -186,6 +186,7 @@ App::DocumentObjectExecReturn *DrawViewDimension::execute(void)
|
||||
}
|
||||
|
||||
//TODO: if MeasureType = Projected and the Projected shape changes, the Dimension may become invalid (see tilted Cube example)
|
||||
requestPaint();
|
||||
|
||||
return App::DocumentObject::execute();;
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
App::PropertyEnumeration Type; //DistanceX,DistanceY,Diameter, etc
|
||||
|
||||
/// Properties for Visualisation
|
||||
App::PropertyString Font;
|
||||
App::PropertyFont Font;
|
||||
App::PropertyFloat Fontsize;
|
||||
App::PropertyString FormatSpec;
|
||||
App::PropertyFloat LineWidth;
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
App::PropertyLink Source;
|
||||
App::PropertyString CellStart;
|
||||
App::PropertyString CellEnd;
|
||||
App::PropertyString Font;
|
||||
App::PropertyFont Font;
|
||||
App::PropertyColor TextColor;
|
||||
App::PropertyFloat LineWidth;
|
||||
App::PropertyFloat TextSize;
|
||||
|
||||
Reference in New Issue
Block a user