Resize the layout when resize the window

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Alundra
Not too shy to talk
Not too shy to talk
Posts: 33
Joined: Mon Jun 30, 2014 03:29

Resize the layout when resize the window

Postby Alundra » Sun Mar 26, 2017 04:35

Hi !
I have my layout working correctly but when I don't use the same size as the layout in the CEED project, I don't have the layout correcly resized and the position too, it's basically on a little part of my screen but the cursor works good.
How solve this issue ?
Thanks

User avatar
Ident
CEGUI Team
Posts: 1836
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Resize the layout when resize the window

Postby Ident » Sun Mar 26, 2017 08:59

Use relative coordinates. Ceed has a button with which you can convert absolute to relative and vice versa, for both position and size. Do that for all Windows.
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest