I use RapaGUI with one Display and I want to change position of Window when I use ChangeDisplaySize().
I try to use MoveDisplay() but not work and I have not found any instructions to perform this action.
How to move window?
Re: How to move window?
I try to use command:
moai.Set("mainwin","top","centered")
but I receive this message:
Error in line 50 : Attribute "top" not recognized for this class!
So, the only way to change position of window is to do manually or to define it in the xml file?
moai.Set("mainwin","top","centered")
but I receive this message:
Error in line 50 : Attribute "top" not recognized for this class!
So, the only way to change position of window is to do manually or to define it in the xml file?
Re: How to move window?
I found a solution
This work and when I change display size window is reopen at position set in xml file. However I think it doesn't make much sense. The window is already open, so this command should have no effect.
For some cases this is ok, but if I want move window in a new position I can't.
Code: Select all
ChangeDisplaySize(newWidth, newHeight)
moai.Set("mainwin","Open",True)
For some cases this is ok, but if I want move window in a new position I can't.
Re: How to move window?
I also think there is no native way.
In this case rhis shoub be in wishlist
In this case rhis shoub be in wishlist
Christos
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How to move window?
I agree that this would be nice to have. The reason why it's not in RapaGUI is that MUI doesn't allow to programmatically change a window's position. Of course it can be worked around by using Intuition directly instead of MUI so I think I can add this for a future version.
Re: How to move window?
The fact that some OS have some limitations should not be the bottleneck of a lot ,mainly wide used, functions in other OSes
Imho if limitatios exists for some reason i. Some oses e.g amigaos3 / android etc.
The feautire can be added, and leave it in manual as "future planned for X os"
Imho if limitatios exists for some reason i. Some oses e.g amigaos3 / android etc.
The feautire can be added, and leave it in manual as "future planned for X os"
Christos