Accesso rapido:  

Forum: VirtualDJ Skins

Topic: pic element resize

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

NicotuxHome userMember since 2014
when picture have element to be drawn in
<size width='myw' height='myh'/>
<off x='xx' y='yy'/> draws it
<on x='xx' y='yy'/> draws it
when picture have element to be drawn in another size
<size width='myw' height='myh'/>
<off x='xx' y='yy' width='ww' height='hh'/> draws it resizing from 'ww'x'hh' to' myw' x 'myh'

however the other part '<on x='xx' y='yy' width='ww' height='hh'/> ' does resize not anymore and draws it 'ww' x 'hh'

slider example(using pic from old-school skin)
  <slider action="stem Kick"  orientation="vertical">
<size width="42" height="178"/>
<pos x="+41" y="+32"/>
<off x="34" y="1277" width="85" height="178"/> resize as needed
<on x="34" y="1277" width="85" height="178"/> does not resize
<fader>
<size width="54" height="13"/>
<pos x="1481" y="1280" width="68" height="16"/> does resize as needed
</fader>
</slider>
 

Inviato Thu 24 Jun 21 @ 12:42 pm
AdionPRO InfinityCTOMember since 2006
Best to use graphics that are the same size as the slider itself in this case.
This behavior probably dates back to vdj 7 or earlier, and changing it now would break existing skins.
 

Inviato Thu 24 Jun 21 @ 2:37 pm


(Vecchi argomenti e forum sono automaticamente chiusi)