Hi,
i’m doing an application which uses a ListSelect component. This ListSelect is wrapped by a GridLayout and filled with strings. The problem is some of this strings are longer than the width of the component, so I can´t see the whole string inside it. I looked for a horizontal scrollbar but it seems like such thing is not supported for this component. Is there another way to see all the string’s content in listSelect ( Is there some way to show description as Label as can) ? Any help would be appreciated. Thanks in advance.
you can wrap the ListSelect with a Panel, which I think is the easiest way to get a horizontal scrollbar. sth like below
Panel wrapper = new Panel();
wrapper.setWidth("100px");
ListSelect listSelect = new ListSelect();
listSelect.addItem("1");
listSelect.addItem("looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong content");
wrapper.setContent(listSelect);