th0rse
11-02-2009, 06:24 PM
Hello there,
I'm creating an interface and I have a question for you all.
Let's say that I create a window, then I move the window, and finally I add a scrollLayout
Does anybody know why the window moves when I do that last thing?
window myWindow;
showWindow myWindow;
scrollLayout -p myWindow;
I know that I can add the `scrollLayout` before showing the window but I do not want to do that because in the script that I have, I have different Layouts for the same window and Depending on what you select from a menu, one layout is deleted and another is shown without deleting the window. (One of those layouts have the `scrollList` and the other doesn't)
That means that every time that I change the menu, the window moves a little bit.
I'm editing the window properties so it snaps back to the place where I want but that means that for a micro second is moving to another place and it's just disturbing!
Any ideas about how to fix that?
Many thanks,
Dave
I'm creating an interface and I have a question for you all.
Let's say that I create a window, then I move the window, and finally I add a scrollLayout
Does anybody know why the window moves when I do that last thing?
window myWindow;
showWindow myWindow;
scrollLayout -p myWindow;
I know that I can add the `scrollLayout` before showing the window but I do not want to do that because in the script that I have, I have different Layouts for the same window and Depending on what you select from a menu, one layout is deleted and another is shown without deleting the window. (One of those layouts have the `scrollList` and the other doesn't)
That means that every time that I change the menu, the window moves a little bit.
I'm editing the window properties so it snaps back to the place where I want but that means that for a micro second is moving to another place and it's just disturbing!
Any ideas about how to fix that?
Many thanks,
Dave
