ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activetcl
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved