Dandruff
Member
|
Maximizing a window
I am not sure how to ask this but if i am going to load a gobj how do i "maximize" the window so it would scale and fit the whole application?
I am also not quite sure about what desktops are in Esenthel. What are they and when would i use them?
I could create all the buttons and regions etc using code instead of loading said gobj but i find it hard to place everything where i want them to go.
What i am doing right now is creating a window without a bar and making it a bit bigger then the app height and width and then placing it in the middle. This works fine but it seems like a dirty solution for this problem.
Thanks.
EDIT: Just found out that the objs do not need to be a child of anything and that maybe i could just load it in(without the button,slider, etc having a parent). This makes much more sense and i thought it needed to before. I have not tried loading it yet though, i will soon.
(This post was last modified: 12-24-2010 03:46 AM by Dandruff.)
|
|
12-24-2010 03:39 AM |
|
Esenthel
Administrator
|
RE: Maximizing a window
GuiObj::setRect
|
|
12-24-2010 03:42 AM |
|
Dandruff
Member
|
RE: Maximizing a window
Thanks for that, i found out how to use it properly now (had to find out what each of the parameters meant).
|
|
12-24-2010 09:56 PM |
|