Draft: update Draft_SetStyle

* Added handling of DefaultShapeVertexColor, DefaultShapePointSize, DefaultAnnoLineColor and DefaultAnnoLineWidth preferences.
* Rearranged the task panel.

Additionally the DefaultDrawStyle and DefaultDisplayMode preferences are now applied by format_object in gui_utils.py.
This commit is contained in:
Roy-043
2023-11-30 21:19:25 +01:00
parent 0b86976bf4
commit e64bb9f499
4 changed files with 406 additions and 333 deletions

View File

@@ -173,6 +173,7 @@ def get_param_type(param):
"linewidth", "modconstrain", "modsnap",
"maxSnapEdges", "modalt", "HatchPatternResolution",
"snapStyle", "DefaultAnnoDisplayMode", "DefaultAnnoLineWidth",
"DefaultDrawStyle", "DefaultDisplayMode",
"gridSize", "gridTransparency"):
return "int"
elif param in ("constructiongroupname", "textfont",