Tktable - differnt column width issue



Hi,
I am using ScrolledWindow and tktable on a frame. I want to have
different column width for last 9 columns. Therefore I'm configuring
the width of those cols after creating the table. The screen looks ok
with maximun size. But if I resize it horizontally, then blank space
between the table and the scroll bar increases on the right side. I am
not able to avoid the increased blank space. Please help me out.
Here is my sample code-

package require BWidget
package require Tktable
frame .f
ScrolledWindow .f.s
table .f.t -rows 512 -cols 522 -colwidth 10
pack .f.s -expand yes -fill both
..f.s setwidget .f.t
pack .f -anchor nw -expand yes -fill both
focus -force .f.t
..f.t width 513 2 514 2 515 2 516 2 517 2 518 2 519 2 520 2 521 2


Thanks & Regards,
Aparna

.



Relevant Pages