[TD]mask Balloon properties inherited from DrawView

- Balloons do not use the Scale and ScaleType properties
This commit is contained in:
wandererfan
2023-04-11 19:19:37 -04:00
committed by WandererFan
parent 7760dbf8c8
commit 0db522eadf

View File

@@ -92,6 +92,12 @@ DrawViewBalloon::DrawViewBalloon()
"Distance from symbol to leader kink");
SourceView.setScope(App::LinkScope::Global);
// hide the DrawView properties that don't apply to Dimensions
ScaleType.setStatus(App::Property::ReadOnly, true);
ScaleType.setStatus(App::Property::Hidden, true);
Scale.setStatus(App::Property::ReadOnly, true);
Scale.setStatus(App::Property::Hidden, true);
Rotation.setStatus(App::Property::ReadOnly, true);
Rotation.setStatus(App::Property::Hidden, true);
Caption.setStatus(App::Property::Hidden, true);
}