Nicolas
unread,Apr 13, 2019, 1:25:36 PM4/13/19You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi Csaba,
I don't succeed (especially on macOS with TK compiled as a framework and ttk::setTheme aqua) to make the columns of a tablelist to fill all the space available in the frame that handle it.
I create a toplevel, force the size of the toplevel with wm minsize, pack a ttk::frame with -side top -fill both -expand yes options, pack a tablelist inside the frame with -fill both -expand 1 options.
the tablelist itself contains 3 colums :
tablelist::tablelist $tbl \
-columns {0 "No." center
0 "Name" center
0 "[#]Channel" center} \
-selectbackground lightyellow -stretch all -background $Dlightmain::bcolor -font [SelFont] \
-foreground white -xscrollcommand [list $hsb set] -yscrollcommand [list $vsb set] -showseparators 1 -relief flat -labelrelief flat -borderwidth 0 -editendcommand [list listingsTbleEndCmd $namespace $ID] \
-labelforeground white -labelbackground black -labelrelief ridge -selectforeground black -selectmode extended -activestyle none -editselectedonly 1 -customdragsource 0
and when the contents of cells is short , the 3 columns take the space they need, and after there's empty spaces...
can you point me to what I'm missing...
best regards,
nicolas