Close tab button scaling

Features wanted...
Post Reply
avivariba
Posts: 87
Joined: 05 Mar 2023 07:38
Location: Win11@125% (second monitor@100%)

Close tab button scaling

Post by avivariba »

Not sure if this is a bug or not, but it's definitely a wish:

The close tab button at Segoe 9 looks like this, which I personally find a tiny bit too small but not too bothersome (12px²):
smaller.png
smaller.png (1.15 KiB) Viewed 326 times
Scrolling to zoom up one single step, to Segoe 9.6, makes it look like this, which most definitely seems to be too big (18px²):
bigger.png
bigger.png (1.25 KiB) Viewed 326 times
I feel that either the button should scale accordingly or that, more preferred, there would be a way to manually set or adjust its size.

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Close tab button scaling

Post by admin »

This looks wrong. Could you post your screen settings? Just type screen; into the address bar and press ENTER.

avivariba
Posts: 87
Joined: 05 Mar 2023 07:38
Location: Win11@125% (second monitor@100%)

Re: Close tab button scaling

Post by avivariba »

Code: Select all

Virtual Screen: (-1920, 0) - (4480, 1440)

Screen.Width (screenW) = 2560 (2560)
Screen.Height (screenH) = 1440 (1440)
Current Monitor: 2 (Primary)
Current Work Area: (0, 0) - (2560, 1380)

Number of Monitors: 2
Monitor 1 Area: (-1920, 354) - (0, 1434) = 1920x1080
Monitor 1 Area Work: (-1920, 354) - (0, 1434)
Monitor 1 DPI: 96 (100%)
Monitor 2 Area: (0, 0) - (2560, 1440) = 2560x1440
Monitor 2 Area Work: (0, 0) - (2560, 1380)
Monitor 2 DPI: 120 (125%)

Startup Work Area: (0, 0) - (2560, 1380)
GetCursorPos = 669, 242
XY Main Window: (553, 135) - (1860, 1140) = 1307x1005, Scale: 1289x933

Monitor: 2/2 (Primary)
Screen: 2560x1440   Virtual: (-1920, 0) - (4480, 1440)   Work: (0, 0) - (2560, 1380)
Screen DPI: 120 (125%)   twX: 12 (12)   Stretch: 1.25   sLF: 1.25   Toolbar Zoom: 1.00 (1;1)
Screen Color Depth: 32   Line Spacing: 1 (1.25)
DPI Awareness: Per monitor   Auto Scaling: Yes, Yes

UseDPIAwareIconSizes: Yes
Icon Size: Small=16, Large=32, Extra Large=48, Jumbo=256
Icon Size Controls: Small=20, Large=40, Extra Large=48, Jumbo=256
Icon Size Recommended: Small=20, Large=40, Extra Large=48, Jumbo=256
I just tested it without scaling too, in which case it happens upon scroll-zooming from Segoe 11.25 to Segoe 12 (also on my 1920x1080 monitor). By the looks of it, it's really only the closing tab button that has this scaling issue going on.

Instead of having it scale along or not scale at all, an option/tweak to set its size to a fixed px value (so that it's never too small or too big for one's liking), would solve it regardless.

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Close tab button scaling

Post by admin »

The jump when going up to 12 is by design. But not at 9.6. I'll check what's going on.

What's your setting here?
Configuration | Tabs and Panes | Tabs | Show X close buttons on tabs

avivariba
Posts: 87
Joined: 05 Mar 2023 07:38
Location: Win11@125% (second monitor@100%)

Re: Close tab button scaling

Post by avivariba »

admin wrote: 16 Jun 2023 14:01 The jump when going up to 12 is by design. But not at 9.6. I'll check what's going on.
It must be the 125% scaling then. 9 * 1.25 = 11.25 and 9.6 * 1.25 = 12 so that lines up.
admin wrote: 16 Jun 2023 14:01 What's your setting here?
Configuration | Tabs and Panes | Tabs | Show X close buttons on tabs
Happens in all of the options (except for Never of course).

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Close tab button scaling

Post by admin »

Yep, you got it.

But the X-close button as shown in your screenshot (white on red) only appears like this when you hover it (and that's good, makes a fat target). It does not look as big when not hovered.

avivariba
Posts: 87
Joined: 05 Mar 2023 07:38
Location: Win11@125% (second monitor@100%)

Re: Close tab button scaling

Post by avivariba »

Problem is that I prefer Segoe 9 (11.25 equivalent), or a little smaller even, but then the close button is too tiny (on hover also).

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Close tab button scaling

Post by admin »

I agree. It should be 15x15. Next beta.

Post Reply