You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The slider's label positions are wrongly calculated:
the distance between the slider's knob and the label is insufficient as the text overlaps with the knob when the slider has its best size
the label vertical positions in case of a horizontal slider (same holds for a vertical slider) are not adjusted when the slider's vertical size is below its best size
The effects can be seen by using the image sample program and opening the "Image filters test" window. I have attached two screen shots showing the two shortcomings.
Remark: the slider's background has been set by myself to red (I just did some investigations of the root cause and therefore needed a visual feedback) and is not part of the original source code.
This screenshot has been made when the window had been sufficiently enlarged.
This screenshot has been made when the height of the window had been reduced.
The reasons for the shortcomings are:
wrong calculation of the distance between the slider's knob and the labels' texts
not taking the size of the slider into account
The text was updated successfully, but these errors were encountered:
hwiesmann
pushed a commit
to hwiesmann/wxWidgets
that referenced
this issue
May 27, 2024
Value label is now always centered (wxWidgets#24531) with respect to the slider's moving direction.
The labels are adjusted with respect to their position perpendicular to the slider's moving direction in case the slider's across size is smaller than its best size.
hwiesmann
pushed a commit
to hwiesmann/wxWidgets
that referenced
this issue
May 27, 2024
Value label is now always centered (wxWidgets#24531) with respect to the slider's moving direction.
The labels are adjusted with respect to their position perpendicular to the slider's moving direction in case the slider's across size is smaller than its best size (wxWidgets#24535).
The slider's label positions are wrongly calculated:
The effects can be seen by using the image sample program and opening the "Image filters test" window. I have attached two screen shots showing the two shortcomings.
Remark: the slider's background has been set by myself to red (I just did some investigations of the root cause and therefore needed a visual feedback) and is not part of the original source code.
This screenshot has been made when the window had been sufficiently enlarged.
This screenshot has been made when the height of the window had been reduced.
The reasons for the shortcomings are:
The text was updated successfully, but these errors were encountered: