25.08.2025, 07:15
@AlexLV, value select window is scaled automatically based on the value length. You can set a fixed width via CSS but it will affect all controls that use pop-up windows:
@Novodk, can you explain your use case with background images? There's an "Apply background/border to Plan view widgets" option in Global appearance settings that might do what you need.
Old Custom JavaScript examples won't work. New Custom JS documentation is not ready yet and some parts might still change. Use this to show a specific plan when an object value is true:
Code:
.widget-control-dialog {
width: 320px;
}
@Novodk, can you explain your use case with background images? There's an "Apply background/border to Plan view widgets" option in Global appearance settings that might do what you need.
Old Custom JavaScript examples won't work. New Custom JS documentation is not ready yet and some parts might still change. Use this to show a specific plan when an object value is true:
Code:
localbus.listen('object', '0/0/1', (value) => {
if (value) {
Visu.showPlan(123)
}
})