Problem of Tooltip's looknfeel?

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

songge3604
Quite a regular
Quite a regular
Posts: 60
Joined: Tue Oct 28, 2008 10:46

Problem of Tooltip's looknfeel?

Postby songge3604 » Mon Dec 22, 2008 10:07

Code: Select all

      <ImagerySection name="label">
         <TextComponent>
            <Area>
               <Dim type="LeftEdge">
                  <ImageDim imageset="TaharezLook" image="TooltipLeftEdge" dimension="Width"/>
               </Dim>
               <Dim type="TopEdge">
                  <ImageDim imageset="TaharezLook" image="TooltipTopEdge" dimension="Height"/>
               </Dim>
               <Dim type="RightEdge">
                  <UnifiedDim scale="1" type="RightEdge">
                     <DimOperator op="Subtract">
                        <ImageDim imageset="TaharezLook" image="TooltipRightEdge" dimension="Width"/>
                     </DimOperator>
                  </UnifiedDim>
               </Dim>
               <Dim type="BottomEdge">
                  <UnifiedDim scale="1" type="BottomEdge">
                     <DimOperator op="Subtract">
                        <ImageDim imageset="TaharezLook" image="TooltipBottomEdge" dimension="Height"/>
                     </DimOperator>
                  </UnifiedDim>
               </Dim>
            </Area>
            <Colours topLeft="FF000000" topRight="FF000000" bottomLeft="FF000000" bottomRight="FF000000"/>
            <VertFormat type="CentreAligned"/>
            <HorzFormat type="WordWrapLeftAligned"/>
         </TextComponent>
      </ImagerySection>


above is the Tooltip's label looknfeel.
notice this:

Code: Select all

            <VertFormat type="CentreAligned"/>
            <HorzFormat type="WordWrapLeftAligned"/>


I set the HorzFormat WordWrapLeftAligned, but in fact it appears CentreAligned.

Thank you!

Return to “Help”

Who is online

Users browsing this forum: No registered users and 40 guests