Is it possible, to resize the render window without rescaling cegui elements?
In all the demos, the gui looks blury at higher resolutions. Id like it to behave more like windows applications. The text size should stay the same too.
Resizing windows without resizing cegui elements.
Moderators: CEGUI MVP, CEGUI Team
Re: Resizing windows without resizing cegui elements.
Nudel wrote:Is it possible, to resize the render window without rescaling cegui elements?
In all the demos, the gui looks blury at higher resolutions. Id like it to behave more like windows applications. The text size should stay the same too.
I am not shure, but take a look at CEGUI Layout editor, create simple layout - one frame window and two or more child windows for that frame, and instead of Right/Left/Top/Bottom Scales set Right/Left/Top/Bottom Offset - and when you will cahnge Frame window size - childs will not. Then save layout and open in editor you like and see what properties are set.
Thank you.
Guess I was helpfull.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
Yes this is possible. Just ensure that your dimensions use only the absolute 'pixel'/'offset' portion of the UDims and set the 'scale' components to 0.
If you're talking about imagesets and fonts (which I think you are, based on your text size comment), you just have to set the AutoScaled setting to "False" in the .imageset and .font files.
When you talk about the demos, which renderer are you using? And how are you changing resolution? - the samples framework runs in windowed mode.
CE.
Yes this is possible. Just ensure that your dimensions use only the absolute 'pixel'/'offset' portion of the UDims and set the 'scale' components to 0.
If you're talking about imagesets and fonts (which I think you are, based on your text size comment), you just have to set the AutoScaled setting to "False" in the .imageset and .font files.
When you talk about the demos, which renderer are you using? And how are you changing resolution? - the samples framework runs in windowed mode.
CE.
Thanks, works well now.
Except for some elements like buttons, but its only noticable if i make them realy huge.
I was using the direct3d renderer for the demos in the newest precompiled cegui sdk and changed the resolution by dragging one of the corners of the window. but ive also tried an ogre application and changed resolution at start with the config dialogue. using offsets instead of scale and disabling auto scale changed it the way i wanted.

Except for some elements like buttons, but its only noticable if i make them realy huge.
When you talk about the demos, which renderer are you using? And how are you changing resolution? - the samples framework runs in windowed mode.
I was using the direct3d renderer for the demos in the newest precompiled cegui sdk and changed the resolution by dragging one of the corners of the window. but ive also tried an ogre application and changed resolution at start with the config dialogue. using offsets instead of scale and disabling auto scale changed it the way i wanted.
Who is online
Users browsing this forum: No registered users and 11 guests