lighterowl / transgui

A fork of Transmission Remote GUI
GNU General Public License v2.0
152 stars 3 forks source link

Fix jagged edges on buttons in normal toolbar mode? #37

Open Pentaphon opened 1 year ago

Pentaphon commented 1 year ago

buttons

Any chance we can get these fixed? They look terrible on smaller screens like so.

The sidebar icons could also use a reworking so they don't have jagged edges as well.

icons

lighterowl commented 1 year ago

Can't say I know how to do this but if anybody wants to take a shot at it, here's a zip file containing all the currently used 16x16 icons : icons16.zip

I'll gladly replace the currently existing ones when the new ones become available.

wally-crunk commented 1 year ago

What is the resolution (size) you are looking for? Is the issue here that 16x16 is too small on bigger screens?

Would you accept SVG icons? They would look better at different resolutions.

Both the top toolbar and left icons would need to be updated at the same time for consistency.

lighterowl commented 1 year ago

Lazarus doesn't seem to support SVG icons, but the facilities for displaying icons in lists seem to support having multiple-resolution versions of the same image.

It would be possible to add SVG files to the repository and render them into multiple resolution bitmaps which are actually used in the application.

wally-crunk commented 1 year ago

Do you want an SVG set, then — and you'll provide the downsample to XX 🞨 YY resolution?

lighterowl commented 1 year ago

Sure, that would work I think. Thanks!

wally-crunk commented 1 year ago

What license do you need for the contributed SVG icons? I haven't been able to find a set of good-enough CC0 or MIT-0 (non attribution required) icons.

lighterowl commented 1 year ago

I'm fine with providing attribution so something like CC-BY would be okay.

wally-crunk commented 10 months ago

I've pulled a decent set of SVGs from CC0 sources, and can submit them here for criticism.

However: On further research, it looks like changing over to high-resolution icons (like 64x64 or SVG) will create a really horrible experience for anyone with a low-resolution display (using them at the existing 16x16 resolution). I believe the solution that's required is multiple resolution icons — like:

Maybe someone more well-versed in icons can help out here, I'm out of my depth on this one. I'm not even sure if 64x64 would be the right resolution for a higher-pixel icon set.