It is the first time I post something here.
I have been searching a lot for this solution, but I couldn’t find any answer to my question.
I’m trying to create (with python or mel, but preferably python) a resizeable window, but that keep original ratio/proportions when resized.
I could not find any “resizeCommand” flag, or lock ratio. I am using Maya 2016.
Another solution I considered, instead of locking the window ratio, would be to create a default resizeable window, and set a child in it, that would keep its original ratio but expand to adapt the window size (and make margins appear if need be).
Do you think it is possible to do such things ?
Thank you very much and have a bice afternoon !