|
|
 |
activetcl
[Activetcl] tablelist problem
by Alejandro G. Schujman other posts by this author
Oct 7 2009 4:49PM messages near this date
view in the new Beta List Site
Re: [Activetcl] Tclcurl and ActiveTcl extension repository
|
[Activetcl] ActiveTcl 8.6.0.0 Beta 2 released
I have for example this code
package require BWidget
package require tablelist
ScrolledWindow .r
tablelist::tablelist .r.tabla -height 5 -width 25
foreach ancho {20 5} nombre {Nombre Descuento} nom {no de} ali {left
center} {
.r.tabla insertcolumns end $ancho $nombre $ali
.r.tabla columnconfigure end -labelalign center -editable 1 -name $nom
}
.r setwidget .r.tabla
pack .r
The problem is that the ScrolledWindow dont't grow in width enough to
contain the tablelist and allways shows the x scrollbar. How can i tell
the scrolledwindows the width I want for it?
If I trie in a large frame and set "fill x" for the pack manager then
the tablelist is stretched even more than the width I assigned for the
columns
--
Alejandro G. Schujman <contacto@[...].ar>
AGS Computación y Sistemas
|
|
|
 |
|