Image with Border Frame issue?

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

alex
Just popping in
Just popping in
Posts: 8
Joined: Mon Jul 17, 2006 13:26

Image with Border Frame issue?

Postby alex » Tue Sep 26, 2006 16:09

Hi,

i have a problem with a StaticImage, that has a Frame enabled with

<Property name="FrameEnabled" value="True" />

in the LookNFeel.
When i attach a StaticText to it, the Text is not visible. if i Change
the definition to

<Property name="FrameEnabled" value="False" />

The Text is visible, but of course the Border is gone.

May be it´s a fault of mine, not sure.

i work with latest 4.x

alex
Just popping in
Just popping in
Posts: 8
Joined: Mon Jul 17, 2006 13:26

Postby alex » Tue Sep 26, 2006 21:26

Ok, no one an idea about that. Or schould i supply more info?

cutenoob
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Tue Jul 11, 2006 02:28
Location: Shanghai

Postby cutenoob » Wed Sep 27, 2006 02:05

Hi,,maybe you can code like this :arrow: staticwindow->setFrameEnabled(false)

or in your StaticText layout file do this :arrow: <Property Name="FrameEnabled" Value="False" />

ps: people are too shy to talk with stranger :lol: :lol:

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Postby spannerman » Wed Sep 27, 2006 08:22

What are you setting the FrameEnabled = False property on, the StaticText or the StaticImage? Or both?
Are you setting the backgrounds of any of these widgets to false?

When i attach a StaticText to it


Please post the code to show what you are doing.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 14 guests