After resizing Widget with table, table contents not properly displayed

Oliver Kreuer <[email protected]>
Newsgroups gmane.comp.kde.devel.perl
Message-ID <[email protected]>
Hello,

one of my widgets contains a table which shows one or two columns with 5 
rows of content.
If I resize the widget when the table shows two columns the table 
content is not properly shown after resizing. For example, strings of 
column two suddenly show up in column one after I maximized the widget 
using the maximize button of the window manager decoration.

Programs written in C++ don't show this strange behaviour.

I've found a work around. I reimplemented the resizeEvent handler as 
follows:

sub resizeEvent
{
    if ($filled eq "true")
    {
	table->updateContents();
    }
}

If my table is filled with content call "updateContents" for every 
resize event.
But I think that normally Qt should handle this itself.
Any suggestions?

System: Perl 5.8.3, Qt 3.2.3 and libqt-perl 3.008-1 with Debian GNU/Linux.

Thank you,
Oliver

-- 
Oliver Kreuer
PSI AG
Bernsaustrasse 4-6
42553 Velbert (Neviges)

Telefon +49/2053/919-211
Telefax +49/2053/919-194
E-Mail  [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.