well, two things, I dont think the text function in the dialog was ment for use as a list (if thats what you are doing, adding items) plus it has a width limit that you specify, wider than that and it will be cut off

as for a listbox, did -z after you have filled it, or added to it

from the help: -z resets the width of horizontal scrollbar in listbox

on *:dialog:yourdialog:init:0:{
add stuff to list
did -z yourdialog listid
}

on *:dialog:yourdialog:sclick:listid:{
did -whatever
did -z (if the list has changed)
}

remember the text in the text "", n, 1 2 3 4

is only going to be as wide as the value of "3"