[Kde-games-devel] Re: Bug 63214
    Andreas Beckermann 
    b_mann at gmx.de
       
    Sun Sep 14 16:42:48 CEST 2003
    
    
  
On Saturday 13 September 2003 22:55, Benjamin Meyer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> in kchatbase.cpp line 212 change:
>  d->mBox->setVScrollBarMode(QScrollView::AlwaysOn);
>  d->mBox->setHScrollBarMode(QScrollView::AlwaysOff);
>
> to
>
>  d->mBox->setVScrollBarMode(QScrollView::Auto);
>  d->mBox->setHScrollBarMode(QScrollView::Auto);
>
> would fix bug:
> http://bugs.kde.org/show_bug.cgi?id=63214
>
> right?  Can I commit?
>
> - -Benjamin Meyer
This would be a workaround only. A Horizontal scrollbar is _ugly_ in a chat 
widget.
Also adding the scrollbar on the fly (i.e. QScrollView::Auto) is not very user 
friendly, as in the moment the scrollbar is added all the text moves and you 
have to move your eyes to the new location of the text (this is why I used 
AlwaysOn and AlwaysOff explicitly).
The correct solution would be correct line breaks.
You may wanto to add d->mBox->setHScrollBarMode(QScrollView::Auto); until 
"someone" reimplements QListBoxText properly in that widget, so that it 
supports long lines. But please do not close the bug then.
CU
Andi
    
    
More information about the kde-games-devel
mailing list