Problem of Tooltip's looknfeel?
Posted: 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!