Accesso rapido:  

Forum: VirtualDJ Skins

Topic: How to remove icons from folderlist

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

How do I do it?
Specifically I'd like to remove the playlist icon. I can't find that icon in any .png.
.. <folderlist
 

Inviato Tue 23 Feb 21 @ 7:43 pm
 

Inviato Tue 23 Feb 21 @ 7:55 pm
So I tried putting this into <folderlist ..
<icon sysicon="play_button" width="32" height="32" />

(play_button just to try)

The Icon tried in this example however is not showing up. Have I done it the right way or am I missing something here?

(I have also tried with a couple of different positions and increased the size)
 

Inviato Tue 23 Feb 21 @ 8:45 pm
 

Inviato Tue 23 Feb 21 @ 9:16 pm
No I didn't try a custom .png, but does it matter if it's custom or sys if I am only testing?

How to link it is what I am trying to figure out
 

Inviato Tue 23 Feb 21 @ 9:24 pm
 

Inviato Tue 23 Feb 21 @ 9:24 pm
Yes but if I am only testing I meant
 

Inviato Tue 23 Feb 21 @ 9:25 pm
 

Inviato Tue 23 Feb 21 @ 9:27 pm
What my xml look like

<folderlist class="browser" resizeX="yes" attachX="both">
<size width="267" height="[HEIGHT]-173"/>
<pos x="-279" y="495"/>
<icon sysicon="play_button" width="332" height="332" />
</folderlist>
 

Inviato Tue 23 Feb 21 @ 9:37 pm
And you are not getting a play icon you mean?
 

Inviato Tue 23 Feb 21 @ 9:38 pm
nope I tried removing the background aswell
 

Inviato Tue 23 Feb 21 @ 9:41 pm
What icon are you getting then? or nothing shows at all?
If nothing shows at all perhaps the X Y coordinates are outside of the "canvas"
Or have something overlaying / hiding it

height="[HEIGHT]-173"/>
For example. if you have not defined height, the height is less than zero .. aka not visible probably
 

Inviato Tue 23 Feb 21 @ 9:42 pm
Nothing shows. Okay just to make sure. Do I put x and y on the same line or on a new line under with tab if you understand what I mean?

Height is defined
 

Inviato Tue 23 Feb 21 @ 9:45 pm
tried different combinations x=310 y=310 . x/y bigger/smaller.

Nothing works. Cannot get it showing outside the folders area either
 

Inviato Tue 23 Feb 21 @ 10:04 pm
ah, i guess this is your actual code? thought you were just truncating a large code down to showing the icon part.. .

If its actual code, you are trying to add an icon to <folderlist> and that is not a place to add icon.
Its just a section of the browser, the list area to show folders.

To change the actual icon on folder XXX you need to use custom icons as mentioned already.
And if you want to test <icon> you need to place it somewhere where icons can be used, for example in a <button> element .. https://www.virtualdj.com/wiki/Skin%20Button.html

The folder list itself (all the folders) are created programmatically by the software, and shown inside the <folderlist> element automatically..

Creating a custom browser is not so easy, so if all you want to do is changing icons, perhaps just look at custom icons instead.. thats plenty to change the icons :)
https://www.virtualdj.com/wiki/Skin%20CustomIcons.html

 

Inviato Tue 23 Feb 21 @ 10:08 pm
I appreciate your help Rune. I will take a better look at this when the time is right.
 

Inviato Wed 24 Feb 21 @ 9:52 pm


(Vecchi argomenti e forum sono automaticamente chiusi)