Managing embedded module\'s loaded panels
Posted: Thu Sep 20, 2018 4:35 pm
Hi everyone,
I am working on the Railway field, and I have to represent railway stations on WinCC OA panels. Some of them are too long so I did a root panel ("Station_root.xml") with a bar with two buttons on the top and an embedded module below. The buttons are intended to display in the embedded module the parts 1 and 2 of the station, respectively (panels which name is "Station_001.xml" and "Station_002.xml").
The problem is that the Embeddded modules has a fixed size (1920, 690), but the panels it has to loads have a bigger size in "y" axis. If I use "ZoomModule" it turns smaller but creates an empty area at the right.
It would be perfect if I could center the panel inside the embedded module. I tried with "ModuleOn" but somehow it is not working.
The function I am using to load panels into the embedded module is "RootPanelOnModule".
Thanks in advance.
I am working on the Railway field, and I have to represent railway stations on WinCC OA panels. Some of them are too long so I did a root panel ("Station_root.xml") with a bar with two buttons on the top and an embedded module below. The buttons are intended to display in the embedded module the parts 1 and 2 of the station, respectively (panels which name is "Station_001.xml" and "Station_002.xml").
The problem is that the Embeddded modules has a fixed size (1920, 690), but the panels it has to loads have a bigger size in "y" axis. If I use "ZoomModule" it turns smaller but creates an empty area at the right.
It would be perfect if I could center the panel inside the embedded module. I tried with "ModuleOn" but somehow it is not working.
The function I am using to load panels into the embedded module is "RootPanelOnModule".
Thanks in advance.