mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.13k stars 234 forks source link

Style icon questions #616

Closed husker-dev closed 4 years ago

husker-dev commented 4 years ago

Icon types

Why are there several icon files in the light/icons folder? First .png image that is referenced in the .xml skin, and another unknown .svg image.

Icon size

Why is a .png image using such a small size? If you use them somewhere, then the size is too small

Example (Spoilers)

image

(A similar question was sent to the mail, but did not receive an answer)

mgarin commented 4 years ago

Why are there several icon files in the light/icons folder? First .png image that is referenced in the .xml skin, and another unknown .svg image.

Those are simply skin icons. PNG is a relic of the past and will be replaced with the SVG version (that is also already there) once I get to upgrade some SVG-related features.

Why is a .png image using such a small size? If you use them somewhere, then the size is too small

It is simply a 16x16 icon for skin selection combobox that you can, for instance, see in the demo app. And generally these are not intended for any use outside of any kinds of skin selectors.

Icons that can be used within application are defined in the icon set XML files and are mostly using SVG at this point which can be scaled properly.

mgarin commented 4 years ago

(A similar question was sent to the mail, but did not receive an answer)

Sorry, didn't see your e-mail because for whatever reason either Thunderbird or our mail server marked it as a spam and moved to the spam folder which I barely ever check.

I usually try to answer any issues & e-mails within 1-2 days, so don't hesitate to poke me here or on Gitter in case you didn't receive an answer, blunders like this could happen :)