From kde-devel Sat Jun 19 12:38:59 1999 From: Torsten Uhlmann Date: Sat, 19 Jun 1999 12:38:59 +0000 To: kde-devel Subject: Re: KHTMLView Problem - solved! X-MARC-Message: https://marc.info/?l=kde-devel&m=92979831904301 On Fri, 18 Jun 1999 Torsten Uhlmann wrote: >Hi all, > >I=B4m about to write an app that uses KHTMLView to >view text. >Untill now I=B4m not able to make it show scrollbars >(I=B4ve tried setScrolling but that doesn=B4t 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=20 browserWidget->begin()=20 scrollbars don=B4t appear, when doing browserWidget->begin("") they do! Is this considered a bug or is it supposed to work this way? --=20 best regards, Torsten Uhlmann ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TUhlmann@gmx.de http://www.tuhlmann.purespace.de ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Wise men still seek him!