Strange boxes - what are they?

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

uelkfr
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Tue Dec 14, 2010 16:57

Strange boxes - what are they?

Postby uelkfr » Tue Dec 28, 2010 14:28

If you have LCD it will hard to see, use pipette tool.
This is WindowsLook/Static widget:

Image

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>

<GUILayout >
    <Window Type="DefaultWindow" Name="root" >
        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
        <Window Type="WindowsLook/Static" Name="root/Workspace" >
            <Property Name="Font" Value="DejaVuSans-6" />
            <Property Name="Text" Value=" workspace" />
            <Property Name="TextPadding" Value="3" />
            <Property Name="FrameColours" Value="tl:FFDFDFDF tr:FFDFDFDF bl:FFDFDFDF br:FFDFDFDF" />
            <Property Name="VertFormatting" Value="TopAligned" />
            <Property Name="UnifiedAreaRect" Value="{{0,44},{0,20},{1,-244},{1,-244}}" />
        </Window>
        <Window Type="WindowsLook/Static" Name="root/Properties" >
            <Property Name="Font" Value="DejaVuSans-6" />
            <Property Name="Text" Value=" properties" />
            <Property Name="TextPadding" Value="3" />
            <Property Name="FrameColours" Value="tl:FFDFDFDF tr:FFDFDFDF bl:FFDFDFDF br:FFDFDFDF" />
            <Property Name="VertFormatting" Value="TopAligned" />
            <Property Name="UnifiedAreaRect" Value="{{1,-240},{0,20},{1,-2},{1,-244}}" />
        </Window>
    </Window>
</GUILayout>
helper to newbies

"i help you, dear newbie
but nobody helps me!"

uelkfr
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Tue Dec 14, 2010 16:57

Re: Strange boxes - what are they?

Postby uelkfr » Tue Dec 28, 2010 17:36

hmm, I have this issue only at work, possibly bug of OpenGL drivers of S3Graphics.
helper to newbies

"i help you, dear newbie
but nobody helps me!"

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

Re: Strange boxes - what are they?

Postby Ident » Tue Dec 28, 2010 18:04

I ve seen such weird boxes in some widgets in one project i made too but i forgot about them, in my latest project i dont have any.

edit: ok i just saw you posted the stuff i just asked for anyways, lol. Okay it looks all fine hmm.. I m clueless
CrazyEddie: "I don't like GUIs"

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

Re: Strange boxes - what are they?

Postby Ident » Sat Jan 08, 2011 06:08

i just noticed the weird boxes i was talking about were apparently close buttons automatically created when you make a Vanilla/FrameWindow for example. Setting the property to false makes them disappear.

Okay so I was wrong there ;)
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 7 guests