×
Namespaces

Variants
Actions

Item label size limited to one line in Series 40 5th and 6th Editions (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): All Series 40 5th Edition + FP1 and Series 40 6th Edition devices
CompatibilityArticle
Created: User:Kbwiki (23 Mar 2010)
Last edited: hamishwillee (09 Aug 2013)

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.

This page was last modified on 9 August 2013, at 08:57.
47 page views in the last 30 days.