[Kde-perl] After resizing Widget with table,
table contents not properly displayed
Oliver Kreuer
okreuer at PSI.de
Wed Jul 7 09:24:52 CEST 2004
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 okreuer at psi.de
More information about the Kde-perl
mailing list