快速登录:  

Forum: VirtualDJ Skins

话题: placeholders, how am I going wrong?
locoDogPRO InfinityModeratorMember since 2013
I define

<define class="gainVU" placeholders="leftside,rightside,">
<button action="deck [LEFTSIDE] repeat 50ms & gain +0.01">
<pos x="+4" y="+0"/>
<size width="12" height="20"/>
<text font="" weight="" fontsize="18" color="white" align="" valign="" dx="+10" dy="" overdx="" overdy="" width="12" format="" text="↑" action=""/>
<up radius="1" border_size="1" border="bordercolor" color="black" />
<over radius="1" border_size="1" border="bordercolor" color="black" />
<down radius="1" border_size="1" border="bordercolor" color="green"/>
</button>
<button action="deck [LEFTSIDE] repeat 50ms & gain -0.01">
<pos x="+4" y="+0+22"/>
<size width="12" height="20"/>
<up radius="1" border_size="1" border="bordercolor" color="black" />
<text font="" weight="" fontsize="18" color="white" align="" valign="" dx="+10" dy="" overdx="" overdy="" width="12" format="" text="↓" action=""/>
<over radius="1" border_size="1" border="bordercolor" color="black" />
<down radius="1" border_size="1" border="bordercolor" color="green"/>
</button>
<button action="deck [RIGHTSIDE] repeat 50ms & gain +0.01">
<pos x="+4+16" y="+0"/>
<size width="12" height="20"/>
<text font="" weight="" fontsize="18" color="white" align="" valign="" dx="+10" dy="" overdx="" overdy="" width="12" format="" text="↑" action=""/>
<up radius="1" border_size="1" border="bordercolor" color="black" />
<over radius="1" border_size="1" border="bordercolor" color="black" />
<down radius="1" border_size="1" border="bordercolor" color="green"/>
</button>
<button action="deck [RIGHTSIDE] repeat 50ms & gain -0.01">
<pos x="+4+16" y="+0+22"/>
<size width="12" height="20"/>
<up radius="1" border_size="1" border="bordercolor" color="black" />
<text font="" weight="" fontsize="18" color="white" align="" valign="" dx="+10" dy="" overdx="" overdy="" width="12" format="" text="↓" action=""/>
<over radius="1" border_size="1" border="bordercolor" color="black" />
<down radius="1" border_size="1" border="bordercolor" color="green"/>
</button>
</define>


I call, but my buttons are being taken literality, actual sending deck [RIGHTSIDE]....

<panel class="gainVU" x="+0" y="+8" leftside="3" rightside="5"/>
 

发表时间 Wed 20 Apr 22 @ 1:45 am
locoDogPRO InfinityModeratorMember since 2013
Self solved. I missed the * for the placehold, and when I did try * I used it at the end and not the start
 

发表时间 Wed 20 Apr 22 @ 2:42 am