Quick Sign In:  

Forum: VirtualDJ Skins

Topic: icon, visibility
locoDogPRO InfinityModeratorMember since 2013
I guessed I could get away with this to have a icon visible on a query, but seems not.
What options do I have? I figure I could go a layer up and have button with icon and button without icon sat in the same space with inverse visibility, but is there better way?

<define class="bankButton" placeholders="iconvis*">
<size width="24" height="26"/>
<off color="dropdown" shape="square" border="bordercolor" border_size="1" />
<on color="dropdown" shape="square" border="bordercolor" border_size="1" />
<over color="dark" shape="square" border="bordercolor" border_size="1" />
<group visibility="[ICONVIS]">
<icon sysicon="effect_show_gui" coloroff="textdarker" colorselected="texton" colorover="textover" colordown="texton" width="16" height="16" important="important"/>
</group>
</define>

<button class="bankButton" x="+0" y="+50-13-37" iconvis="effect_bank_load 2" action="effect_bank_load 2" rightclick="effect_bank_save 2" tooltip="FX BANK 2"/>
 

geposted Wed 18 Oct 23 @ 9:11 am
AdionPRO InfinityCTOMember since 2006
Sysicon is indeed always drawn, so 2 buttons is probably the best solution.
 

geposted Wed 18 Oct 23 @ 9:29 am
locoDogPRO InfinityModeratorMember since 2013
thanks
 

geposted Wed 18 Oct 23 @ 9:29 am