Here is the incriminated code in my layout
Code: Select all
<Window Type="GlobalLook/FrameWindow" Name="Campaign" >
<Property Name="CaptionColour" Value="00FFFFFF" />
<Property Name="ClippedByParent" Value="False" />
<Property Name="CloseButtonEnabled" Value="False" />
<Property Name="EWSizingCursorImage" Value="set:GlobalLook image:MouseEsWeCursor" />
<Property Name="Font" Value="Tahoma-12" />
<Property Name="MouseCursorImage" Value="set:GlobalLook image:MouseTarget" />
<Property Name="NESWSizingCursorImage" Value="set:GlobalLook image:MouseNeSwCursor" />
<Property Name="NSSizingCursorImage" Value="set:GlobalLook image:MouseNoSoCursor" />
<Property Name="NWSESizingCursorImage" Value="set:GlobalLook image:MouseNwSeCursor" />
<Property Name="Text" Value="New Campaign" />
<Property Name="TitlebarEnabled" Value="True" />
<Property Name="TitlebarFont" Value="Tahoma-12" />
<Property Name="UnifiedAreaRect" Value="{{0.5,-100},{0.5,-150},{0.5,100},{0.5,150}}" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="Visible" Value="False" />
</Window >and in the looknfeel (if that can be of some use)
Code: Select all
<!--
***************************************************
GlobalLook/Titlebar
***************************************************
-->
<WidgetLook name="GlobalLook/Titlebar">
<Property name="CaptionColour" value="FFFFFFFF" />
<ImagerySection name="main">
<ImageryComponent>
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
</Area>
<Image imageset="GlobalLook" image="NewTitlebarLeft" />
<VertFormat type="Stretched" />
</ImageryComponent>
<ImageryComponent>
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge" >
<UnifiedDim scale="1" type="RightEdge">
<DimOperator op="Subtract">
<ImageDim imageset="GlobalLook" image="SysAreaRight" dimension="Width">
<DimOperator op="Add">
<ImageDim imageset="GlobalLook" image="SysAreaMiddle" dimension="Width" />
</DimOperator>
</ImageDim>
</DimOperator>
</UnifiedDim>
</Dim>
<Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
</Area>
<Image imageset="GlobalLook" image="NewTitlebarRight" />
<VertFormat type="Stretched" />
<HorzFormat type="RightAligned" />
</ImageryComponent>
<ImageryComponent>
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge" >
<UnifiedDim scale="1" type="RightEdge">
<DimOperator op="Subtract">
<ImageDim imageset="GlobalLook" image="SysAreaRight" dimension="Width" />
</DimOperator>
</UnifiedDim>
</Dim>
<Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
</Area>
<Image imageset="GlobalLook" image="SysAreaMiddle" />
<VertFormat type="Stretched" />
<HorzFormat type="RightAligned" />
</ImageryComponent>
<ImageryComponent>
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
</Area>
<Image imageset="GlobalLook" image="SysAreaRight" />
<VertFormat type="Stretched" />
<HorzFormat type="RightAligned" />
</ImageryComponent>
<ImageryComponent>
<Area>
<Dim type="LeftEdge" ><ImageDim imageset="GlobalLook" image="NewTitlebarLeft" dimension="Width" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge" >
<UnifiedDim scale="1" type="RightEdge">
<DimOperator op="Subtract">
<ImageDim imageset="GlobalLook" image="SysAreaRight" dimension="Width">
<DimOperator op="Add">
<ImageDim imageset="GlobalLook" image="SysAreaMiddle" dimension="Width">
<DimOperator op="Add">
<ImageDim imageset="GlobalLook" image="NewTitlebarRight" dimension="Width" />
</DimOperator>
</ImageDim>
</DimOperator>
</ImageDim>
</DimOperator>
</UnifiedDim>
</Dim>
<Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
</Area>
<Image imageset="GlobalLook" image="NewTitlebarMiddle" />
<VertFormat type="Stretched" />
<HorzFormat type="Stretched" />
</ImageryComponent>
</ImagerySection>
<ImagerySection name="caption">
<TextComponent>
<Area>
<Dim type="LeftEdge" ><ImageDim imageset="GlobalLook" image="NewTitlebarLeft" dimension="Width" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1" offset="-75" type="Width" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
</Area>
<ColourProperty name="CaptionColour" />
<VertFormat type="CentreAligned" />
</TextComponent>
</ImagerySection>
<StateImagery name="Active">
<Layer>
<Section section="main" />
<Section section="caption" />
</Layer>
</StateImagery>
<StateImagery name="Inactive">
<Layer>
<Section section="main" />
<Section section="caption" />
</Layer>
</StateImagery>
<StateImagery name="Disabled">
<Layer>
<Section section="main">
<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
</Section>
<Section section="caption">
<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
</Section>
</Layer>
</StateImagery>
</WidgetLook>
