Skip to main content

include multiple line in label component

3 replies [Last post]
senthilcit
Offline
Joined: 2010-08-19
Points: 0

Hi
I am using the LWUIT in the application
i want to know is it possible to include multiple line in label component?
NAME OF THE STUDENT
CLASS
SECTION
HEIGHT
WEIGHT

Here the above line using each label to display the information. i want to display all the information in single label
is there any other component is used to display the such the above information?
Please help me.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mahdi_hijazi
Offline
Joined: 2010-01-15
Points: 0

add them to a container with box layout on y-axis

senthilcit
Offline
Joined: 2010-08-19
Points: 0

Hi
Thanks for the reply.
i had already include the box layout on y-axis
i had used the list to renderer as label component in the form to display the item.
when i scroll down from top to bottom for a student i have to press down arrow button atleast 4 times here each time each is focused
but if i add all the information into the same label then it will be quite useful to use it.for a single student only one focus
is it possible through label component of the label? or go for any other component in the lwuit?

gmx
Offline
Joined: 2010-05-01
Points: 0

in your renderer extend TextArea and setEditable(false); or extends Container and add to container multiple Label.