Item label size limited to one line in Series 40 5th and 6th Editions (Known Issue)
Article Metadata
Tested with
Devices(s): All Series 40 5th Edition + FP1 and Series 40 6th Edition devices
Compatibility
Platform(s): Series 40 5th Edition + FP1, Series 40 6th Edition
Article
Created: User:Kbwiki
(23 Mar 2010)
Last edited: hamishwillee
(01 Aug 2012)
Description
Item label size is limited to one line in Series 40 5th and 6th Editions due to Series 40-specific UI considerations.
How to reproduce
For example, implement a TextField with a long label text:
...
Form f;
TextField txtTest;
...
f=new Form("Form");
txtTest = new TextField("This is a long Item label, which means it will extend well beyond one line and should be visible in full on S60 and older Series 40 devices (Series 40 3rd Edition, Feature Pack 2 and before). ", null, 500, TextField.ANY);
f.append(txtTest);
...
Solution
For the affected Editions: either limit the item label size to fit on one line, or construct a StringItem with the text of desired length and place it above the item.


(no comments yet)