if you mean the built in capabilities: no.
I’m not sure what are the other options rather than the built in one. I was trying to flip the pin to right/left using
style() functions. Noting worked.
@jonathan it would be great if can at least record the flexible layout changes through the timelines.
Peter, please read the topic title before assuming. Also the OP might know best what he was thinking. And multiple options should be helpful for future visitors and the OP. Regards
That was just a follow up suggestion because the initial request was blocked with “no” but that answer is not entirely true and that is all I pointed out. Shall we leave it at that then. Regards
leaving it at that
Thanks for the request - I think this is the first time it has been asked. There’s presently no user way to change this. Can you elaborate more on your use case for this?
@jonathan I have three windows:
- left (pin to left, top and bottom. resize horizontally and vertically.)
- middle (pin to none. resize horizontally and vertically.)
- right (pin to right, top and bottom. resize horizontally and vertically.)
I want to give the user capability to hide either left or right windows. If the user choose to hide the left window, I have to pin the middle window to the left. Similarly, I have to pin the middle window to the right to hide the right window.
Your description still fits the method used in Hype LayoutKit best for now and the demo shows already the use of a toggle. Alternatively you can wait and hope for a new API function in the next Hype or do the math yourself and use setElementProperty and link that to an resize handler event and your toggles… regards
Makes sense, thanks for the extra details!
I’ve filed this on our feature tracker (though I don’t recommend waiting for a built-in solution).