Alignment within a list or combobox
I would like to use a list and/or a combobox to display a list of items each having a text and a numeric component, joined into one. I would like the numeric component right justified. I could do this manually if I could get Font.substringWidth() to work.
eg System.out.println(Font.substringWidth(s, 0, 10));, but I get an error message.
I can't simply count spaces as the target handset has a default proportional font.
Alternatively I could have two lists side by side with one disabled from taking focus, but I cannot get rid of the background focus colour for the second list for the first entry.
Any help really appreciated