Has anyone been able to subclass Veiwport so the (Horizontal) Scrollbar is always visible and is disabled rather than hidden when not needed?
I’ve tried adding:
[code]void Viewport::setHorizontalAutoHide(const bool shouldHideWhenFullRange)
{
horizontalScrollBar.setAutoHide(shouldHideWhenFullRange);
}
void Viewport::setVerticalAutoHide(const bool shouldHideWhenFullRange)
{
verticalScrollBar.setAutoHide(shouldHideWhenFullRange);
}[/code]
but that didn’t do it… I’d have to override updateVisibleArea()
Just wondering if anyone has done this successfully before?
Cheers,
Rail