Custom Overall Spacing breaks toolbar button dimensions with high DPI display
Posted: 29 Oct 2025 05:49
Custom Overall Spacing breaks toolbar button dimensions with high DPI display.
Expected behaviour: When using a custom "Overall Spacing" value, toolbar buttons should be square (having identical left/right padding).
Reported behaviour: Toolbar buttons become narrower. Left padding looks okay. Right padding does not. Toolbar buttons with dropdowns will even overlap their neighbours.
Steps to Reproduce:
XYplorer version: 28.00.0500 (64-bit)
Windows 11 (23H2) display scale: 200%
XY Config --> Styles --> Overall spacing: 12
Customize Toolbar --> Zoom: 1.00 (24x24)
BROKE: Customize Toolbar --> Options --> Autosize Buttons
WORKS: Customize Toolbar --> Options --> Small Buttons
WORKS: Customize Toolbar --> Options --> Large Buttons
BROKE: Customize Toolbar --> Options --> Extra Large Buttons
Customize Toolbar --> Zoom: 2.00 (32x32)
BROKE: Customize Toolbar --> Options --> Autosize Buttons
BROKE: Customize Toolbar --> Options --> Small Buttons
BROKE: Customize Toolbar --> Options --> Large Buttons
BROKE: Customize Toolbar --> Options --> Extra Large Buttons
Customize Toolbar --> Zoom: 3.00 (48x48)
BROKE: Customize Toolbar --> Options --> Autosize Buttons
BROKE: Customize Toolbar --> Options --> Small Buttons
BROKE: Customize Toolbar --> Options --> Large Buttons
BROKE: Customize Toolbar --> Options --> Extra Large Buttons
Expected behaviour: When using a custom "Overall Spacing" value, toolbar buttons should be square (having identical left/right padding).
Reported behaviour: Toolbar buttons become narrower. Left padding looks okay. Right padding does not. Toolbar buttons with dropdowns will even overlap their neighbours.
Steps to Reproduce:
XYplorer version: 28.00.0500 (64-bit)
Windows 11 (23H2) display scale: 200%
XY Config --> Styles --> Overall spacing: 12
Customize Toolbar --> Zoom: 1.00 (24x24)
BROKE: Customize Toolbar --> Options --> Autosize Buttons
WORKS: Customize Toolbar --> Options --> Small Buttons
WORKS: Customize Toolbar --> Options --> Large Buttons
BROKE: Customize Toolbar --> Options --> Extra Large Buttons
Customize Toolbar --> Zoom: 2.00 (32x32)
BROKE: Customize Toolbar --> Options --> Autosize Buttons
BROKE: Customize Toolbar --> Options --> Small Buttons
BROKE: Customize Toolbar --> Options --> Large Buttons
BROKE: Customize Toolbar --> Options --> Extra Large Buttons
Customize Toolbar --> Zoom: 3.00 (48x48)
BROKE: Customize Toolbar --> Options --> Autosize Buttons
BROKE: Customize Toolbar --> Options --> Small Buttons
BROKE: Customize Toolbar --> Options --> Large Buttons
BROKE: Customize Toolbar --> Options --> Extra Large Buttons