[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KHTMLView Problem - solved!
From:       Lars Knoll <Lars.Knoll () mpi-hd ! mpg ! de>
Date:       1999-06-20 16:12:49
[Download RAW message or body]

On Sat, 19 Jun 1999, Torsten Uhlmann wrote:

> On Fri, 18 Jun 1999 Torsten Uhlmann wrote:
> >Hi all,
> >
> >I´m about to write an app that uses KHTMLView to
> >view text.
> >Untill now I´m not able to make it show scrollbars
> >(I´ve tried  setScrolling but that doesn´t work.)
> >
> >This is the method I use to show the text:
> >
> >void app::slotSetHTMLText(const QString &text)
> >{
> >	//browserWidget->setScrolling(1);
> >	browserWidget->begin();
> >	browserWidget->write(text.data());
> >	browserWidget->end();
> >	browserWidget->parse();
> >	browserWidget->show();
> >}
> >
> 
> Just FYI, the problem was the begin() statement.
> When calling 
> browserWidget->begin() 
> scrollbars don´t appear, when doing
> 
> browserWidget->begin("") they do!
> 
> Is this considered a bug or is it supposed to work this way?

Sounds like a bug. I'll have a look at it.

Bye,
Lars

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic