[REBOL] Re: Blocks of strings in text-lists.
From: anton:lexicon at: 8-May-2002 11:06
Try investigate this:
system/console/tab-size
Defaults to value 4.
I would:
- save the current tab value
- determine the maximum filename length
- set the tab value greater than the maximum
- display your text-list
- restore the tab value afterwards
You could also specify a fixed-width font:
view layout [
text-list data ["iiii" "AAAA" "----"] with [
font: [name: font-fixed size: 40]
]
]
view layout [
text-list data ["iiii" "AAAA" "----"] font-name font-fixed
]
I just went to the View Developer's Guide for this info.
Anton.