Working with LWUIT Table
I am trying to use LWUIT table control and running into two problems.
Firstly, table completely ignores theme settings (TableCell.bgColor, etc.) It renders black text on white background and sometimes, when you select a header it apparently renders white text on white background (or may be it does not draw text at all). I stepped into the code and paint() method for Component seems to get the right style object with all the right values for colors. However, it still ends up drawing black-on-white at the end. Can't figure out how it is happening.
Secondly, I can't seem to figure out how to set column size. My table has two columns and I want to make sure it does not truncate text in headers. There is enough screen real-estate to fit both headers, but since some entries in my first column are long it always makes the first column very large. I saw from looking at the code that I can set a constraint as a percentage of total width, but I cannot find out the width until layout is performed.
Do you have any suggestions?