Can I make multiline list item in FXList?

R

Robo

Hi,

In FXRuby, is it possible to make a list, and each list item being more than
one line long?

e.g. something like the new Microsoft Outlook 2003, where in a list of
e-mails, each email shows the Sender and Date on the first line, and the
Subject on the next line.

I tried doing something like this, and didn't work:

theList = FXList.new(tasksPanel, 1, nil, 0,
LAYOUT_FILL_X|LAYOUT_FILL_Y)

theList.appendItem("Some sort of task... \n Robo")

The GUI it creates ignores the \n.

Robo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,145
Messages
2,570,824
Members
47,370
Latest member
desertedtyro29

Latest Threads

Top