I have a in-panel widget which should be (open) minimized when the app starts.
Using the property 'openAtStart: true' is working fine to open the widget when the app starts, but the widget is starting with maximized UI. When using the widget on a mobile device the Panel will use the complete screen.
Is there any property i missed to open the widget with minimized UI at start?
What i've tried is to use the Widget Manager to minimize the widget after it has been initialized. But i've never get it work to minimize any widget, not event the startard widgets (Legend, Layer-List).
GetAllWidgets works like expected and returns the loaded widgets. But if i try to minimize with the widget instance or the id nothing happens:
var wm = WidgetManager.getInstance(); var widgetList = wm.getAllWidgets(); wm.minimizeWidget(widgetList ) wm.minimizeWidget(widgetList .id)
Any hint is welcome