Button bar spacing

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Button bar spacing

Post by *msrox »

How can I decrease the space on sides of the spacer/separator (a vertical line) on button bar?

Before the latest update, the space on each side of the separator was equal to the space between buttons/icons. However, after latest update, the space on sides of the spacer increased to like two times the space between the icons. This makes the button bar not as pretty as before.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I don't se any difference: http://madsenworld.dk/tcmd/buttonbar.png
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Not confirmed
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Post by *msrox »

Here is a snapshot of my button bar in TC v9.0:

https://www.dropbox.com/s/9b1bsn7xc75t0me/9.0_crp.jpg?dl=0

and here is my button bar in TC v9.10:

https://www.dropbox.com/s/yto97a8b796pow7/9.10_crp.jpg?dl=0

I can see differences in spacing. Any idea how to remove the extra spacing?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Choose Configuration - Button bar. There are two fields for the size. Keep the lower (icon) size, and make the upper (button size) smaller. You can make it even a bit smaller than the icon size.
Author of Total Commander
https://www.ghisler.com
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Post by *msrox »

I played with the size. It doesn't give the same result as of what I have in v9.0. There is definitely larger spacing on sides of the spacer compared to sides of the icons in v9.10. My setting is the same in both versions, but they produce difference spacing. So, there is something acting differently in these two versions.

The other issue is that, to adjust the icon size (in order to set the upper size (button) which as I explained doesn't work), I need to select Small icons checkbox, which as advised below, it should be left unchecked in order to have the button bar size automatically adjusted with the screen resolution:

http://ghisler.ch/board/viewtopic.php?t=46295&postdays=0&postorder=asc&start=0&sid=e7afaeea6e4d1a9c02ca17c9840b2821

Any thought?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Actually this was changed - you can now check "small icons" and it will get auto-adjusted. Small icons now just means that the size is set separately from the button size itself, and that's usually smaller than the button size.

What sizes do you use for button and icon? And what are your Windows version and the scaling settings of your screen?
Author of Total Commander
https://www.ghisler.com
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Post by *msrox »

Good question. I have 1 4K landscape monitor (3840X2160) in the middle and two portrait monitors (1200X1920) on sides.

I usually run TC in my right side portrait monitor (1200X1920). I had no issue with it in v9.0. Starting from v9.10, the issue with buttons as well as menu started (explained below). So, now I just tried the middle monitor and I confirm that the spacing is correct. However, when I drag TC window to my side monitor, the spacing mixed up and spacers get bulky. I set 50 and 48 for the sizes from top to bottom.

The other issue that I just tested it and confirm that exists in v9.10 and not in v9.0 is the spacing between menu items. Here is a snapshot of the Menu items in my side monitor when TC started in my side monitor:

https://www.dropbox.com/s/kscrw8gm2nvdr0v/menu1.jpg?dl=0

When I drag TC to the middle monitor, the Menu items look like:

https://www.dropbox.com/s/w67a13hah486h40/menu2.jpg?dl=0

Dragging TC back to my side monitor makes the Menu items like:

https://www.dropbox.com/s/hn5w3z1l9s57anl/menu3.jpg?dl=0

which are pretty messed up. None of these issues existed in v9.0.

It is great that TC v9.10 auto-adjusts based on the resolution, but it would be great to make the new feature don't affect others.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

v9.0 didn't scale when moving to different DPI monitors - this was left to Windows, which resulted in a blurry user interface. Everything including the icons of the bar are now scaled by TC itself.

If you don't want this, you can revert to the blurry way TC 9.0 did it:
wincmd.ini
[Configuration]
DpiPerScreen=0
Author of Total Commander
https://www.ghisler.com
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Post by *msrox »

ghisler(Author) wrote:v9.0 didn't scale when moving to different DPI monitors - this was left to Windows, which resulted in a blurry user interface. Everything including the icons of the bar are now scaled by TC itself.

If you don't want this, you can revert to the blurry way TC 9.0 did it:
wincmd.ini
[Configuration]
DpiPerScreen=0
Great to be able to switch between scaling solutions. However, it doesn't seem hard to make TC to scale but scale properly. The Menu items in particular are behaving strangely as the TC scaling are showing them correctly when TC is first loaded in my side monitor. But, only dragging TC windows to other monitor and again dragging it back to side monitor (the one that TC was first loaded in and was showing Menu items correctly) shouldn't cause the scaling to have different scaling settings and put huge gaps in between Menu items!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC imposes some limits when scaling the icons, e.g. not smaller than 16x16 pixels when scaling from a larger to a smaller screen. There are also some other restrictions which should prevent icons from overlapping others.
Author of Total Commander
https://www.ghisler.com
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Post by *msrox »

Thanks for your reply, but I am not sure how it is related to my questions particularly the last one about the Menu items. So, I rephrase my question/comment:

I am trying to replicate the problem:

1) Load TC in Monitor 2 (portrait 1200X1920). Here is a snapshot of the Menu items:

https://www.dropbox.com/s/kscrw8gm2nvdr0v/menu1.jpg?dl=0

2) Drag TC to Monitor 1 (landscape 3840X2160). The Menu items look like:

https://www.dropbox.com/s/w67a13hah486h40/menu2.jpg?dl=0

3) Drag TC back to Monitor 2. The Menu items look like:

https://www.dropbox.com/s/hn5w3z1l9s57anl/menu3.jpg?dl=0

As you can see, the first and last snapshots are both from TC in similar monitor. However, the Menu items look completely different.

The question now is why? (why with same condition including monitor, TC shows different Menu item spacing?) Similar question exits about the spacing around the spacer which vary in different monitor.

P.S. I absolutely love TC and it is always my first/main application that is running on my system. I am just trying here to have small contribution by explaining the problem that I am seeing in TC.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This was fixed in TC 9.12 RC4 (actually already in TC 9.11 RC1).
Author of Total Commander
https://www.ghisler.com
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Post by *msrox »

Great, thanks!
Post Reply