How do I make GUI the same for all resolutions, using editor

Use this forum for:
- Discussion regarding unofficial CEGUI related tools, scripts and utilities.
- User to user help for the obsoleted CELayoutEditor and CEImagesetEditor tools.

Moderators: CEGUI MVP, CEGUI Team

User avatar
arkos
Quite a regular
Quite a regular
Posts: 49
Joined: Thu Apr 27, 2006 21:45

How do I make GUI the same for all resolutions, using editor

Postby arkos » Wed May 03, 2006 01:15

Hey Guys,

I am new to CEGUI. I am trying to make a GUI in CELayoutEditor that will look the same no matter what resolution Ogre is run at. Right now it appears that the windows retain their size at different resolutions but there positions on screen vary quite dramatically. Is there a way to define relative coordinates in the editor? Thanks

User avatar
arkos
Quite a regular
Quite a regular
Posts: 49
Joined: Thu Apr 27, 2006 21:45

Postby arkos » Wed May 03, 2006 01:46

Alright I figured it out. Somehow the offset values got changed. I am assuming this messes with the relative position of the windows. So what I did was put all of the offsets to 0 and then resized the windows to how they were. I don't know how the offsets were changed originally because I didn't alter them manually and resizing only seems to alter the scale vals. Any comments?

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Wed May 03, 2006 06:54

Hello Arkos,

you found yourself a bug ;-)

i played around with the editor for a while and it seems to set the offsets when you snap to grid. Did you use that functionality?

I'll put it into Mantis, since it shouldn't act this way.

User avatar
arkos
Quite a regular
Quite a regular
Posts: 49
Joined: Thu Apr 27, 2006 21:45

Postby arkos » Wed May 10, 2006 07:03

I don't remember exactly if I turned on snap to grid or not. It is a strong possibility that I did though because it was my first time with the program and I was messing around with all of the options. Thanks for the reply.


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 4 guests