Re: 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,

thanks for your reply. That was exactly the mistake a made.
I have to use table->setColumnStretchable instead.

Oliver

Germain Garand wrote:
> Le Vendredi 27 Août 2004 12:58, Oliver Kreuer a écrit :
> 
> 
>>So I compiled the small table example provided with Qt. And ... surprise
>>... this example functions correctly. But I can't figure out which
>>mistakes I make using the QTable API.
>>
> 
> 
> I think your only "mistake" is how you use setStretchable().
> It's rather intended (logically) to be set on the columns/rows, but you set it 
> on the table's member QHeader... not sure if this is really kosher.
> 
> Member widgets are usually touchy in Qt... they are accessible, yes, but it's 
> often a bad idea to bypass the parent if you can avoid it - as they are 
> rather involved in a master/slave relationship.
> 
> G.
> 
> _______________________________________________
> Kde-perl mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/kde-perl
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.