Page 1 of 1

ProgressBar filler issues

Posted: Fri Oct 06, 2006 00:50
by SuperGeek
Ok, so I'm getting through the widgets making my own grahics. My graphics guy just dropped me the latest batch of updates and I throw them in.

Everthing is going good so far, except the ProgressBar widget is giving me fits. I imagine I'm just overlooking something obvious (usually am).

The Problem:
It would appear that the filler area of the bar is being scaled to a negative factor rahter than being clipped. See images below for a visual of the problem.

The Code:

Code: Select all

 
        <ImagerySection name="ProgressFill" >
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="LeftEdge" imageset="Datalink" image="ProgBarFillLeft" />
                <Image type="RightEdge" imageset="Datalink" image="ProgBarFillRight" />
                <Image type="Background" imageset="Datalink" image="ProgBarFillMiddle" />
            </FrameComponent>
        </ImagerySection>



The Visual:
Image

Any help is appreciated!

Posted: Fri Oct 06, 2006 01:23
by SuperGeek
I have since tried to use 3 ImageryComponent rather than a FrameComponent, but achieve very similar results. The left peice does not dissapear, and the right peice starts left aligned with the left one.

Also, I can not get the system to show the disabled images for the filler area. Is this option known to be broken, or have I missed something? The log file does not report any errors on this.

Posted: Thu Oct 12, 2006 06:20
by cutenoob
seem like we encounter a same problem,,

but after try a few hours,,I give up,,It really really messed me up....

Hope you can find the answer and share them :P :P