blessedguy
Skinning Contest Winner
Posts: 1762 Reputation: 25
31 / /
Joined: Jan 2008
|
RE: [Released] Stuart and Jason's 365 Theme
xml code: <*PlusSkin Conditions(MailBtn1 = true) *>
<Button Id=atom(mailbtn) CmdId=40198 AccRole=57 Accdesc=rcstr("msgr",4227) ShortcutString=rcstr("msgr",4226) Class="TransparentButton" AccName=rcstr("msgr",4228) AccDefAction=rcstr("msgr",20500) Layout=FlowLayout(0,2,0,2) Active=7 Padding=Rect(0,0,0,0)>
<Element Layout=FillLayout()>
<element class="ToolbarIcon" content=rcimg("msgr",1480) Id=atom(idMailIcon)/>
<Element Layout=FillLayout() Padding=Rect(12,8,0,0)>
<Element Id=atom(mailcount) Class="ToolbarButtonItemCount" FontSize=rcint("msgr",20957)pt ContentAlign=middlecenter/>
</Element>
</Element>
</Button>
<*/PlusSkin*>
<PlusSkin Conditions(MailBtn1 = false) *>
[b]<Button Id=atom(mailbtn) CmdId=40198 AccRole=57 Accdesc=rcstr("msgr",4227) ShortcutString=rcstr("msgr",4226) Class="TransparentButton" AccName=rcstr("msgr",4228) AccDefAction=rcstr("msgr",20500) Layout=FlowLayout(0,2,0,2) [i]layoutpos=none[/i] Active=7 Padding=Rect(0,0,0,0)>
<Element Layout=FillLayout()>
<element class="ToolbarIcon" content=rcimg("msgr",1480) Id=atom(idMailIcon)/>
<Element Layout=FillLayout() Padding=Rect(12,8,0,0)>
<Element Id=atom(mailcount) Class="ToolbarButtonItemCount" FontSize=rcint("msgr",20957)pt ContentAlign=middlecenter/>
</Element>
</Element>
</Button>[/b]
<*/PlusSkin*>
You just have to add the layoutpos=none thingy, and would be easier to just use this:
xml code: <Button Id=atom(mailbtn) CmdId=40198 AccRole=57 Accdesc=rcstr("msgr",4227) ShortcutString=rcstr("msgr",4226) Class="TransparentButton" AccName=rcstr("msgr",4228) AccDefAction=rcstr("msgr",20500) Layout=FlowLayout(0,2,0,2)<PlusSkin Conditions(RemMailBtn = true) *> layoutpos=none<*/PlusSkin*> Active=7 Padding=Rect(0,0,0,0)>
|
|