wxWidgets icon indicating copy to clipboard operation
wxWidgets copied to clipboard

wxSlider thumb is clipped and value label misaligned on wxGTK

Open dsa-t opened this issue 2 years ago • 3 comments

The wxSlider thumb is clipped on wxGTK. Also the value label is not vertically centered on vertical sliders. widgets demo:

Top side clipped: image

Top and left side clipped:

image

Platform and version information

  • wxWidgets version you use: 3.2 tip (https://github.com/wxWidgets/wxWidgets/commit/e8d51afb7871ceead40f1f8aa58e904c241828d9)
  • wxWidgets port you use: wxGTK
  • OS and its version:
    • GTK version: 3.24.33-1ubuntu2
    • Which GDK backend is used: X11
    • Desktop environment : Xfce 4.16.0
    • Current theme: Mint-Y-Aqua

dsa-t avatar Nov 30 '23 07:11 dsa-t

This should be closed by the commits above (thanks!), should we backport it to 3.2 too?

vadz avatar Jun 01 '25 17:06 vadz

The clipping is a problem with the theme, it's trying to draw outside the widget's allocation. We can't fix that. The alignment is fixed in ea2beaaf5b. My thinking is that it probably should not be backported.

paulcor avatar Jun 01 '25 17:06 paulcor

The clipping is a problem with the theme

I see the slider slightly clipped on the left even on Adwaita

Image

dsa-t avatar Jun 01 '25 19:06 dsa-t