Hi!
I have created a listbox and I want to add items to it. The problem is that the items don't look too good in the listbox
Ideally I would like them to display like:
basic01 3dv 2 14.6
mig8b01 3dv 2 14.6
temp01 3dv 2 14.2
slice01 3dh 2 18.4
Frequency bri 0 0.0
so I did:
set toto [format "%-30s %-5s %-5d %-6.1f" $name $ext $nbext $size]
$lb insert end $toto
but the lines don't appear formatted like:
basic01 3dv 2 14.6
mig8b01 3dv 2 14.6
temp01 3dv 2 14.2
slice01 3dh 2 18.4
Frequency bri 0 0.0
Is there a way to get around this?
Many thanks!
I have created a listbox and I want to add items to it. The problem is that the items don't look too good in the listbox
Ideally I would like them to display like:
basic01 3dv 2 14.6
mig8b01 3dv 2 14.6
temp01 3dv 2 14.2
slice01 3dh 2 18.4
Frequency bri 0 0.0
so I did:
set toto [format "%-30s %-5s %-5d %-6.1f" $name $ext $nbext $size]
$lb insert end $toto
but the lines don't appear formatted like:
basic01 3dv 2 14.6
mig8b01 3dv 2 14.6
temp01 3dv 2 14.2
slice01 3dh 2 18.4
Frequency bri 0 0.0
Is there a way to get around this?
Many thanks!