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

List:       kde-devel
Subject:    Re: KHTMLView Problem - solved!
From:       Torsten Uhlmann <TUhlmann () debis ! com>
Date:       1999-06-19 12:38:59
[Download RAW message or body]

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?

-- 

best regards,
Torsten Uhlmann

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TUhlmann@gmx.de
http://www.tuhlmann.purespace.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wise men still seek him!

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

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