trayscale icon indicating copy to clipboard operation
trayscale copied to clipboard

Add some padding to tray icons

Open TimDeve opened this issue 4 months ago • 3 comments

As described in https://github.com/DeedleFake/trayscale/issues/259, the existing tray icons lack padding which means they appear larger than the average tray icon.

This PR adds some padding. Below are some example in context.

Before: 506150669-c01b3a1e-2757-4399-8d6a-8d17f5bf80f0

After: Screenshot_20251028_174556 Screenshot_20251028_174604 Screenshot_20251028_174613

TimDeve avatar Oct 29 '25 12:10 TimDeve

I think it was a bit too much. Now it looks slightly too small on GNOME compared to other icons, especially with the exit node disabled.

image image

Edit: With a bounding box:

image

DeedleFake avatar Oct 29 '25 17:10 DeedleFake

Right that's interesting, I think the size I picked falls in between two pixels on non high definition displays and it ends up looking smaller than expected. Let me try to simulate that so I can find the right size.

TimDeve avatar Nov 01 '25 14:11 TimDeve

I tried it with a standard definition VM and it does look like it lines up Gnome/Ubuntu: Screenshot_20251101_150557-1

So I guess the issue is more than 3rd party tray icons are sometime bigger so I changed it to something in between instead, does that look ok?

1080p: Screenshot_20251101_153314

4k (150%): Screenshot_20251101_151834

TimDeve avatar Nov 01 '25 15:11 TimDeve