Very simple question but can't seem to find it anywhere. I'm trying to get my header to shrink and grow with the page. But I can't find an option anywhere. Anyone know how to do it. I have it set to 50 in the configure docker view settings. But I can't set it to anything like 0.9rem or something like that.
Is this Perspective? (Add the appropriate tag to your question title.)
By "docker" do you mean "Docker"? (Capitals matter.) Or are you trying to set up the Perspective page configuration?
Sorry I added the proper tag and yea I meant the docker (lowercase)
Just circling back to see if anyone has some light they can shed on this.
Or rather, did you mean the dock settings in the page configuration? There isn't such a thing as docker settings in ignition.
If that's the case, I don't believe you can configure it in the page config, but I think there was a function added to change the size of a dock, so you could possibly use that in a change script on the View's size props? I think it will bounce around when you change pages though... As docks resize to their page settings on page change, from memory
Found this thread, in short you can't dynamically changing it by setting a basis and grow/shrink like an embedded view.
Depending on your need you could, use an alter dock script using system.perspective.alterDock
, to dynamically change the docked view when you need.
Or you could set a few docked views on top of each other with display set to auto and set the auto break point for them to appear.
No you did not.
There are two very different ways of implementing an HMI with ignition: Vision and Perspective. It's important you mention/tag which one you're using when asking questions.
This is exactly what I need. This should work now. Thank you for that.