wxHTML & wrapping too long words

3 views
Skip to first unread message

Marcus Frenkel

unread,
Dec 12, 2009, 10:15:48 AM12/12/09
to wx-u...@googlegroups.com
Hi,

I use wxHTML for my simple html needs. wxHTML wraps too long lines in
a table cell just fine. However, it breaks the line by the word
boundaries only, it never brakes the word no matter how long it is.
This produces ugly results in the layout when the words are very long,
the table cell expands in width as long as word length is.

Maybe someone already needed the same word wrapping (or better say
char wrapping) option and managed to change the wxHTML source to
produce that?

Thx, Marcus

Milan Babuskov

unread,
Dec 14, 2009, 5:40:09 AM12/14/09
to wx-u...@googlegroups.com
Marcus Frenkel wrote:
> I use wxHTML for my simple html needs. wxHTML wraps too long lines in
> a table cell just fine. However, it breaks the line by the word
> boundaries only, it never brakes the word no matter how long it is.

It's this exactly how HTML is supposed to work? Does the Firefox break
words?

--
Milan Babuskov

==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================

Marcus Frenkel

unread,
Dec 17, 2009, 7:46:37 AM12/17/09
to wx-u...@googlegroups.com
On Mon, Dec 14, 2009 at 11:40 AM, Milan Babuskov <mil...@panonnet.net> wrote:
> Marcus Frenkel wrote:
>> I use wxHTML for my simple html needs. wxHTML wraps too long lines in
>> a table cell just fine. However, it breaks the line by the word
>> boundaries only, it never brakes the word no matter how long it is.
>
> It's this exactly how HTML is supposed to work? Does the Firefox break
> words?

Firefox does it when zero-width space characters are used in the html code.

Reply all
Reply to author
Forward
0 new messages