[macOS] Slider value and value label do not match (Issue #24539)

11 views
Skip to first unread message

hwiesmann

unread,
May 17, 2024, 10:58:15 AMMay 17
to wx-...@googlegroups.com, Subscribed

Description

The slider value and the corresponding value label do not match if

  • the value set by using SetValue(int) is outside the slider's range
  • the range is modified so that the actual value is afterwards outside the range

The bug can be seen when using the widgets sample code and selecting the slider control page.Entering a minimum value of 10 for the slider's range while the actual value is 0 leads to the situation that the slider is positioned at 10 while the label still shows the old value 0.

PS: Calling GetValue() will return 10.
PPS: The value itself is always adjusted so that it is within the slider's range.

Platform and version information

  • wxWidgets version you use: latest master built
  • wxWidgets port you use: macOS 14.4.1


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/24539@github.com>

VZ

unread,
May 19, 2024, 2:50:57 PMMay 19
to wx-...@googlegroups.com, Subscribed

Closed #24539 as completed via ca2a336.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issue/24539/issue_event/12859018459@github.com>

Reply all
Reply to author
Forward
0 new messages