SelectFromList wrap text

Hi is there any easy way to wrap text in forms.SelectFromList?


My forms code

selected_dqj = forms.SelectFromList.show(correct_dqj, title="Select DQJ which you want to pick", multiselect=False, button_name='Select DQJ')

Not sure what all that says and what it all means. So, I don’t know that a word wrap is going to do the end user much good.

I’d make some user readable aliases from these long strings and use those in the list with a tuple list of items and aliases. From the return of the alias, you could select the desired item.

1 Like