Hi,
I try to display text with a simple Richtext. But sometimes space means a new line created.
Here is the code:
def initWidget(widget): title = createRichText(widget, "<font>"+"abcde - fghijk"+"</font>", 0) resizeRichText(widget, title, 2000, 3000)
But it display: tvRSS - eztv
if there is no space it shows the text correctly.
def initWidget(widget): title = createRichText(widget, "<font>"+"abcdefghijklmnopqrstuvwxyz"+"</font>", 0) resizeRichText(widget, title, 2000, 3000)
Display: abcdefghijklmnopqrstuvwxyz
Does someone have an idea why space create a new line?
I'm using superkaramba 0.42 with kubuntu 8.04 (kde 3.5.9).
thanks for your help.
Log in to post a comment.
Hi,
I try to display text with a simple Richtext.
But sometimes space means a new line created.
Here is the code:
def initWidget(widget):
title = createRichText(widget, "<font>"+"abcde - fghijk"+"</font>", 0)
resizeRichText(widget, title, 2000, 3000)
But it display:
tvRSS -
eztv
if there is no space it shows the text correctly.
def initWidget(widget):
title = createRichText(widget, "<font>"+"abcdefghijklmnopqrstuvwxyz"+"</font>", 0)
resizeRichText(widget, title, 2000, 3000)
Display:
abcdefghijklmnopqrstuvwxyz
Does someone have an idea why space create a new line?
I'm using superkaramba 0.42 with kubuntu 8.04 (kde 3.5.9).
thanks for your help.