Skip to main content

GTK Sliders

1 reply [Last post]
Joined: 2004-06-29

When using a Slider in my GUI under most LookAndFeels it doesn't show the value of the slider in a label, but in GTKLookAndFeel it does (I have a horizontal slider and it shows a text label over the slider with the current value).

For my program I do not want the value displayed. How can I disable it, or is this a bug in the GTKLookAndFeel?


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-07-22

This is what native gtk does, so we do the same. You can disable the label via UIManager.put("Slider.paintValue", Boolean.FALSE).