Changing the Designer Theme
Наши примеры проектов и шаблоны отчётов помогут Вам разобраться в основах работы с нашими продуктами.The dashboard designer supports many visual themes, set on the Python options object.
Set the designer theme.
How it works. The options object drives the designer's look, so a single assignment reskins the entire editor.
Set the designer theme.
designer = StiDesigner()
designer.options.appearance.theme = enums.StiDesignerTheme.OFFICE_2022_BLACK_GREEN
if designer.processRequest(request):
return designer.getFrameworkResponse()options.appearance.theme— one of theStiDesignerThemepresets that restyles the whole designer UI.- The dashboard is loaded and assigned the usual way; only the interface appearance changes.
How it works. The options object drives the designer's look, so a single assignment reskins the entire editor.