icon for buttons

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
lian00
Posts: 429
Joined: 09 Jul 2014 17:12

icon for buttons

Post by lian00 »

Hello,
I did not find the good information in help file so here is my question: to associate an image (ico ? png ?) to a button what is the best size ? Is there a list of icons "packed" with XYplorer ?
Windows 10 64 bits

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: icon for buttons

Post by bdeshi »

"(ico ? png ?)": Use the .ico format.
the best size is 16px and 32px (that is, the icon should include both 16px and 32px versions)

"Is there a list of icons "packed" with XYplorer ?"
Yes, there is. Here's a script: http://www.xyplorer.com/xyfc/viewtopic. ... 531#p85000
Manually: create a ctb, right click it and choose "Customize Toolbar". The customize toolbar dialog will now add a [text] after all toolbar icons.
(Like this: Address Bar Go [go])
Use that bracketed text preceded by a colon as the icon path. (Like this: :go)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

lian00
Posts: 429
Joined: 09 Jul 2014 17:12

Re: icon for buttons

Post by lian00 »

Thank you, I will get a look at this.
Windows 10 64 bits

Post Reply