So I have been modifying the lookandfeel of a slider and have changed LinearBarVertical to suite my needs, I added a thumbnail control (an ellipse) to drag the slider. The problem is unlike LinearVertical, LinearBarVertical will cut off the button and/or top of the thumbnail if the slider is dragged all the way, the border cuts it off. I have fixed this by modifying the isBar() method to not include LinearBarVertical in the Slider GUI class (Slider::Pimpl), however I cannot override the class from my application since it is private. Is there any way to do this without manually changing the method within the Slider GUI class?
Any help would be appreciated.