Create Skins (Looknfeel-Files)
Posted: Tue Nov 11, 2008 02:11
Hey,
I read the Tutorial "Creating Skins" in the Wiki and I think I got it so far, but I have one question:
Could someone explain the XML-codes in the article?
I dont understand, what the <Dim> Tag is, what it does and what parameters it expects. Also what the AbsoluteDim is, is my question (Whats the difference between Dim and AbsoluteDim)?
And here: what is __auto_titlebar__ etc.?
Maybe someone could help me with explaining the code a little bit...
Thanks a lot
Donner
I read the Tutorial "Creating Skins" in the Wiki and I think I got it so far, but I have one question:
Could someone explain the XML-codes in the article?
Code: Select all
<Child type="Vanilla/Titlebar" nameSuffix="__auto_titlebar__">
<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" ><FontDim type="LineSpacing" padding="14" /></Dim>
</Area>
<Property name="AlwaysOnTop" value="False" />
</Child>
I dont understand, what the <Dim> Tag is, what it does and what parameters it expects. Also what the AbsoluteDim is, is my question (Whats the difference between Dim and AbsoluteDim)?
Code: Select all
<NamedArea name="ClientWithTitleWithFrame">
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="7" /></Dim>
<Dim type="TopEdge"><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" offset="-7" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" offset="-7" type="BottomEdge" /></Dim>
</Area>
</NamedArea>
And here: what is __auto_titlebar__ etc.?
Maybe someone could help me with explaining the code a little bit...
Thanks a lot
Donner