Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG FIX for ticket #24532 - Ticks were not centered with respect to the slider's line #24537

Closed
wants to merge 1 commit into from

Conversation

hwiesmann
Copy link
Contributor

To have a proper centering with respect to the slider's line, the size of the slider in the dimension perpendicular to the slider's line has to be an even number. Therefore, when determining the best size, the size is adjusted to an even number when ticks are shown.

… slider's line

To have a proper centering with respect to the slider's line, the size of the slider in the dimension perpendicular to the slider's line has to be an even number. Therefore,when determining the best size, the size is adjusted to an even number when ticks are shown.
@vadz
Copy link
Contributor

vadz commented May 19, 2024

Thanks for the fix! I will merge it soon.

@vadz vadz closed this in a4a334e May 19, 2024
vadz pushed a commit to vadz/wxWidgets that referenced this pull request May 19, 2024
To have a proper centering with respect to the slider's line, the size
of the slider in the dimension perpendicular to the slider's line has to
be an even number. Therefore,when determining the best size, the size is
adjusted to an even number when ticks are shown.

See wxWidgets#24532, wxWidgets#24537.

(cherry picked from commit a4a334e)
@hwiesmann hwiesmann deleted the BugFix_24532 branch May 23, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants