How do I do it?
Specifically I'd like to remove the playlist icon. I can't find that icon in any .png.
.. <folderlist
Specifically I'd like to remove the playlist icon. I can't find that icon in any .png.
.. <folderlist
Posté Tue 23 Feb 21 @ 7:43 pm
if you want to change icons you can use custom icons file
And change in the icon png file.
See here: https://www.virtualdj.com/wiki/Skin%20CustomIcons.html
And change in the icon png file.
See here: https://www.virtualdj.com/wiki/Skin%20CustomIcons.html
Posté 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)
<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)
Posté Tue 23 Feb 21 @ 8:45 pm
Did you add a new custom icon image file?
And link to it in the xml?
As described here: https://www.virtualdj.com/wiki/Skin%20CustomIcons.html
And link to it in the xml?
As described here: https://www.virtualdj.com/wiki/Skin%20CustomIcons.html
Posté 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
How to link it is what I am trying to figure out
Posté Tue 23 Feb 21 @ 9:24 pm
You need a custom png to change icons
But if you tried with default icons and not showing up, it does look like you are trying to make a custom browser perhaps? if so see here: https://www.virtualdj.com/wiki/Custom%20Browser.html
But if you tried with default icons and not showing up, it does look like you are trying to make a custom browser perhaps? if so see here: https://www.virtualdj.com/wiki/Custom%20Browser.html
Posté Tue 23 Feb 21 @ 9:24 pm
Yes but if I am only testing I meant
Posté Tue 23 Feb 21 @ 9:25 pm
Look here https://www.virtualdj.com/wiki/Custom%20Browser.html
Check if you did the code correctly.
Should show play icon in your test if thats what you set, else there is an error in your xml likely
Check if you did the code correctly.
Should show play icon in your test if thats what you set, else there is an error in your xml likely
Posté 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>
<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>
Posté Tue 23 Feb 21 @ 9:37 pm
And you are not getting a play icon you mean?
Posté Tue 23 Feb 21 @ 9:38 pm
nope I tried removing the background aswell
Posté 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
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
Posté 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
Height is defined
Posté 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
Nothing works. Cannot get it showing outside the folders area either
Posté 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
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
Posté 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.
Posté Wed 24 Feb 21 @ 9:52 pm