Setting UnifiedSize to an Image Size

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
cippyboy
Quite a regular
Quite a regular
Posts: 51
Joined: Wed Jul 30, 2008 13:23

Setting UnifiedSize to an Image Size

Postby cippyboy » Wed Oct 15, 2008 13:00

Is there a way to set the Unified Size (in pixels, not relative coordinates) to a certain Image size ? I know I can make a widget as big as a certain, defined image, but in cases where I have an image property I'd like to make the widget as big as the size of that custom image. Or alternatively write in the layout at UnifiedSize the Width of it's NormalImage property. Is that possible ?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sun Oct 26, 2008 09:49

Hi,

Apologies for the lateness of this response; I have been unwell.

I don't think this is possible at the moment, but I think it would be a good thing to be able to do.

CE.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: Baidu [Spider] and 20 guests