Skip to content

Windows 10/11: Fix the button click area in the property browser shifting#1685

Merged
ruevs merged 1 commit intosolvespace:masterfrom
ruevs:Fix1680_ButtonClickArea
Mar 13, 2026
Merged

Windows 10/11: Fix the button click area in the property browser shifting#1685
ruevs merged 1 commit intosolvespace:masterfrom
ruevs:Fix1680_ButtonClickArea

Conversation

@ruevs
Copy link
Copy Markdown
Member

@ruevs ruevs commented Mar 13, 2026

...because the contents were rendered stretched or compressed.

Force the window 1 pixel taller and then restore it's original size. This somehow fixes the problem where on Windows 10 and 11 toggling the scroll bar would cause the client area of the text window to be stretched or compressed horizontally. It looks bad and the buttons on the toolbar do not line up with the hit areas.

This fix is the result of a long discussion with claude-sonnet-4.6
https://github.com/solvespace/solvespace/agents/pull/1680
#1680

Fixes: #681

…ting

...because the contents were rendered stretched or compressed.

Force the window 1 pixel taller and then restore it's original size.
This somehow fixes the problem where on Windows 10 and 11 toggling
the scroll bar would cause the client area of the text window to
be stretched or compressed horizontally. It looks bad and the
buttons on the toolbar do not line up with the hit areas.

This fix is the result of a long discussion with claude-sonnet-4.6
https://github.com/solvespace/solvespace/agents/pull/1680
solvespace#1680

Fixes: solvespace#681
@ruevs ruevs requested a review from phkahler March 13, 2026 20:45
@ruevs ruevs merged commit baf0993 into solvespace:master Mar 13, 2026
4 checks passed
@ruevs ruevs deleted the Fix1680_ButtonClickArea branch March 13, 2026 20:48
@ruevs ruevs added the Win32 label Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Button click area is shifted left of icon

1 participant