Qt-interest Archive, June 2007
Re: Behavior changed for QGV scrollbars
Message 1 in thread
Try calling update, after setValue
On Jun 8, 2007, at 10:48 PM, Kleag wrote:
> Hello,
>
> I was used (with Qt4.2 and before) to have a QGV with hidden
> scrollbars
> (ScrollBarAlwaysOff) but that was scrolled with
> frame-> verticalScrollBar()->setValue ( yyy )
> when the mouse is near one of the window borders.
> Since Qt4.3, this behavior has changed. Now, minimum and maximum
> values for
> the scrollbars are both 0 and thus asking for a change has no effect.
>
> I think that this is a bug, but maybe should I use another method
> to do this
> scrolling ?
>
> Note that if I enable the scroll bars (ScrollBarAlwaysOn) and hide
> them with
> hide(), then it works but there is as expected an ugly gray zone at
> the bars
> positions.
>
> Best regards,
>
> Kleag
> --
> KsirK - a turn-based strategy game for KDE
> http://gna.org/projects/ksirk
>
> KGraphViewer - a GraphViz dot graphs viewer
> http://extragear.kde.org/apps/kgraphviewer
>
> To unsubscribe - send "unsubscribe" in the subject to qt4-preview-
> feedback-request@xxxxxxxxxxxxx
>
--
[ signature omitted ]