[Kde-perl] After resizing Widget with table, table contents not properly displayed

Oliver Kreuer okreuer at PSI.de
Mon Aug 30 10:59:17 CEST 2004


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
> Kde-perl at kde.org
> https://mail.kde.org/mailman/listinfo/kde-perl



More information about the Kde-perl mailing list