[Qt-interest] Problem with QTextTable

Guido Seifert Wargand at gmx.de
Wed Jan 20 02:03:40 CET 2010


Hi,
I have a little (?) problem with QTextTable.
I create a table with three columns and put values in it:

|1234|asdf|Some text whatever     |

Now depending on some incoming data I either add further lines
with three columns. Or I merge all three column to one large column
and add a longer text:


|1234|asdf|Some text whatever     |
|Longer text in one column        |

So far so good. My problem is that the width of the rows of the three 
column rows jumps unpredictably when I add the on column text.

|1234   |   asdf|Some text whatever     |
|Longer text in one column              |

If I add another one column row it might change the layout back or not:

|1234|asdf|Some text whatever     |
|Longer text in one column        |
|Second one column text           |

All one column lines are of a size, which should make it absolutely
unnecessary that the three column rows are resized. Looks like something
is wrong with the QTextTable layout manager. 

Any ideas? Is this a bug? This 'advanced' QText stuff is a bit new 
for me.

Regards,
Guido


-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



More information about the Qt-interest-old mailing list