Page 1 of 1

can i let the tabcontrol button align on the right?

Posted: Wed Jun 21, 2006 13:59
by billconan
as the topic.

can i? i tried to set the tab control like this:

Code: Select all


   <WidgetLook name="PolygonStudio/TabControl">
      <Property name="TabButtonType" value="PolygonStudio/TabButton" />
      <Child  type="PolygonStudio/TabPane" nameSuffix="__auto_TabPane__">
         <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>
      </Child>
      <Child  type="DefaultWindow" nameSuffix="__auto_TabPane__Buttons">
         <Area>
            <Dim type="LeftEdge" ><AbsoluteDim value="120" /></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>
      </Child>
      <StateImagery name="Enabled" />
      <StateImagery name="Disabled" />
   </WidgetLook>


but nothing changed.

so how can i do this.