* Christian Gollwitzer <
[email protected]>
| Have you considered to use fsdialog from Schelte Bron instead? In all
| of my applications, I load fsdialog and replace tk_getOpenFile if
| [tk_windowingsystem] eq "Linux"
Ok, checked fsdialog, looks nice, but suffers in the default config
(details 0) from the same problem as the original:
one looooooong filename determines the column width of the listing:
# create 100 files withe short names
for {set i 0} {$i < 100} {incr i} {
close [open file-$i w]
}
# and one with a long name
close [open [string repeat x 150] w]
# open fsdialog
package require fsdialog
ttk::fsdialog::tk_getOpenFile
the dialog shows only few files, with unused space at the right,
scrolling this is awkward (shows completely empty page at some
positions).
!!!BUT!!! :-)
I can configure it with "details 1"
ttk::fsdialog preferences details 1
ttk::fsdialog::tk_getOpenFile
and then the files are listed vertically, which is exactly what I want
(the 'details' is then just like on Windows, I could live without that,
but :-)
R'
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)