quote:
Originally posted by aNILEator
This method is the same for most Elements you may want to force hide.
If an element that you want to hide does not have a layoutpos to modify, you can add one, it may work depending on the element. Give it a go (Smilie)
You have not contacted me on this issue. Don't lie!
You have to HIDE the elements not remove them. Removing them can and will feck up messenger
add in a layoutpos=none
something like
code:
<button class="HIGToolbarButton" padding=rect(5,5,5,4) layout=borderlayout() <*PlusSkin Conditions(RemInviteBtn = false)*></*PlusSkin*> <*PlusSkin Conditions(RemInviteBtn = true)*>layoutpos=none</*PlusSkin*>
id=atom(invitetoimbtn) cmdid=40269 AccRole=43 Tooltip=true active=mouseandkeyboard|nosyncfocus margin=rect(5,0,5,0) accessible=true>
<ButtonIcon class="HIGToolbarIcon" contentalign=middlecenter ID=Atom(ai149)/>
<element layoutpos=Right contentalign=middlecenter layout=filllayout()>
<ButtonText class="HIGToolbarText" content="" contentalign=middlecenter Shortcut=1 ID=Atom(ai150)/>
</element>
</button>
I have not tested this, so if it doesn't work that's the reason