Page 1 of 1

Managing embedded module\'s loaded panels

Posted: Thu Sep 20, 2018 4:35 pm
by Eksergian
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.

Re: Managing embedded module\'s loaded panels

Posted: Thu Sep 20, 2018 4:53 pm
by michel.eijgermans
Hello,

Embedded-module have a 'alignment' (extended) property that can be set to 'AlignHCenter'.

Gr

Re: Managing embedded module\'s loaded panels

Posted: Fri Sep 21, 2018 8:17 am
by Eksergian
Thank you for your response.

I actually did not notice about the "extended" properties and that one in particular will be useful, so thank you twice.