Hi i am using the combo Box and the list ..
I want to know how can i scroll the text horizontally when i select the index in combo box..
What is the property to set......help me..
Thanks and regards
Linuxgeek..
Hi i am using the combo Box and the list ..
I want to know how can i scroll the text horizontally when i select the index in combo box..
What is the property to set......help me..
Thanks and regards
Linuxgeek..
can you be a little more specific? what classes are you using, how, on which device?
ComboBox comboBox = new ComboBox(arr);
comboBox.setSelectedIndex(0);
i am testing on Nokia 5130 ..
the text in the combo box is more .
half of the text is not visible .
so i want to make the text scrpllable ..so that i can we entire text..
since combobox is not a lcdui class, i assume you are talking about lwuit combobox.
A combobox is a list, which uses a listcellrenderer (by default a defaultlistcellrenderer).
the defaultlistcellrenderer renders a label for each item.
startticker is the label method to start the ticker is the text is too long.
so basically, you change the listcellrenderer by extending a defaultlistcellrenderer that call startticker on the component before returning it.