I would like the standardize my widgets of my widgets with Themes and Styles and standardize properties such as
In order to facilitate consistency in my MappView project, I want to standardize my widgets (appearance, size, etc.). I am planning on using Styles and Themes for this, however this does not incorporate properties such as Size or Unit. The Help page suggests Derived Widgets for this, but this introduces a problem: The Derived Widget seems to overwrite the properties defined in the style. Removing these properties from the derivedwidget XML also does not seem to help, as it just defaults to the Base properties of the widget, instead of the properties defined in the “default” style.
In the Screenshots below I show this effect by switching Themes
Is there a way to combine Themes and Derived Widgets or are these methods completely incompatible? And in the case of the latter, what do you suggest for standardizing the Size of buttons and other (non-styleable) properties?
I am using AS 6.5.3.11 with MappView 6.7.0. A minimal project showing this issue is attached (did not have the time to make it work in simulation, but the editor view should be enough)
Hi,
to make the simulation for mappView work you have to enable the OPC UA server.
mappView requires styles for the fully qualified custom-widget type. Removing styleable properties from the derived XML therefore exposes generated/base defaults instead of the theme values. See the help Styles for custom widgets
You have to add something like this to * BuRThemeFlatLightDefaultStyles.styles