Issues with docked window resize

HI PGriffith, I did exactly as you wrote but my window docked (east) having a 2 simple tab strips inside is not resizing at all. I have the 2 tab strips grouped (each is relative with keep aspect ratio) and I grouped the 2 strips and anchored the group to top and bottom (and mandatory in the center on X asis).

The main window (floating) and all the objects are correctly resized, the docked not at all.

Where am I wrong?

Thanks, Elio

I can’t really picture what you have set up. If you can provide a window export or screenshots, I might be able to help, but I can’t promise how timely it’ll be.

Hello,

Reviving a dead thread here, but I am experiencing what seems to be the same issue. I have a Docked Window with a tab strip inside that I would like to have centered and spanning the width of the application window in the North position. I followed the tips you posted in this thread Docked Window Size not correct on Client with Vision - Ignition - Inductive Automation Forum, anchoring the group to the left and right instead of top and bottom and ensuring the components within the group are set to relative. I included two dummy labels to show that the spanning is working correctly for other components, but not tab strip components.
image
The running client for the below screenshot is a maximized window on a 1920x1080 monitor, and the labels have stretched to the full length of the window while being "centered", but the tab strip is left aligned.
image
Is this because the tab strip component is by default left-aligned? If so, is there a nifty scripting function I could use to change this?
Hopefully this gives a little more of what you are looking for, thank you.

You would have to reach "into" the tab strip component and provide your own widths to the component; it doesn't automatically scale its inner components to fill in the way you're expecting.

There's a hack of sorts to accomplish this via the tab attributes dataset documented here:

Or this thread has a different, more "imperative" approach involving scripting to directly modify the inner components. The script in this post is modifying the overflow arrow panels, but it could be modified to look for the inner com.inductiveautomation.factorypmi.application.components.tabstrip.TabComponent instead pretty easily.

3 Likes