Resizing windows in layout editor
Moderators: CEGUI MVP, CEGUI Team
Resizing windows in layout editor
When I resize a window is it possible to stop all the other buttons and things changing size too, so they stay the same? I want to add some more things to my window but when I expand it all the other buttons just enlarge to take up the space.
Re: Resizing windows in layout editor
You need to stop using the scaled-offsets, and start using the fixed-offsets to define the positions/sizes of your elements.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!
Re: Resizing windows in layout editor
And to do that, I...
Re: Resizing windows in layout editor
You have actually used the editor before, right?
In the editor, looking at the property pane, you can see that each side (top, left, right, bottom) of a window has two offsets: [side] scale and [side] offset. If you use the scaled parameters, then as insuinuated by the name when you resize the parent the child will "scale" along with it; if you use the fixed-offset parameters it will keep the same offset regardless of sizing changes to the parent window.
In the editor, looking at the property pane, you can see that each side (top, left, right, bottom) of a window has two offsets: [side] scale and [side] offset. If you use the scaled parameters, then as insuinuated by the name when you resize the parent the child will "scale" along with it; if you use the fixed-offset parameters it will keep the same offset regardless of sizing changes to the parent window.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!
Re: Resizing windows in layout editor
Yay it works now thank you.
Who is online
Users browsing this forum: No registered users and 13 guests

