After working in optix for a while I think that screens just have more customization options (Background color,border color, border thickness). I see no clear advantage to using one over the other most of the time and have started just making all my HMI needs with a panel inside ScaleLayout instead so it can scale if I drag the window size up or down. It seems also that a Panelloader object will eat just about any container type and not just panels, so I don't see the big difference. Reading some documentation a screen seems to just be a subtype of a panel. The documentation also states the following for each: Panel: "Simple objects container. Display the graphical objects it contains and that can be a selectable area" Screen: "Graphical container, typically used to create HMI pages"
What's the difference between a panel and screen within Optix and when would you typically use each of them?
After working in optix for a while I think that screens just have more customization options (Background color,border color, border thickness). I see no clear advantage to using one over the other most of the time and have started just making all my HMI needs with a panel inside ScaleLayout instead so it can scale if I drag the window size up or down. It seems also that a Panelloader object will eat just about any container type and not just panels, so I don't see the big difference.
Reading some documentation a screen seems to just be a subtype of a panel. The documentation also states the following for each:
Panel: "Simple objects container. Display the graphical objects it contains and that can be a selectable area"
Screen: "Graphical container, typically used to create HMI pages"