Re: [Activetcl] table and scrollbar issues
by Jeff Hobbs other posts by this author
May 30 2008 12:18PM messages near this date
view in the new Beta List Site
[Activetcl] table and scrollbar issues
|
[Activetcl] help
Hi Gene,
You want to reread the table docs about what the options do. The -width
has a different behavior than you seem to expect, although there are
likely options that cover what you want.
In addition, the toplevel will resize itself to the requested height of
the children, even growing, unless you set it specifically.
Regards,
Jeff
Gene Osteen wrote:
> I have created a table with both x and y scroll bars. The
> code is below. My problem is when I add data to the cells array I modify
> the width of the columns to show all the text. When the columns expand,
> I expected the actual table width to stay the same, but the table itself
> seems to grow and the Y scroll bar vanishes off the right side of the
> screen. I have to make the window bigger to see the scroll bar and it
> seems to have a lot of space between the scrollbar and the table widget.
> Can someone explain what I am doing wrong.
> table .tf.rec.fldlst.tb -rows 25 -cols 4 -yscroll
> ".tf.rec.fldlst.yscroll set" > -xscroll ".tf.rec.fldlst.xscroll set" -font {H
elvetica 10}
> -variable cells > -titlerows 1 -width 50
_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Gene Osteen
Jeff Hobbs
|