Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Form UI component assumes skin support (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Tested with
Devices(s): Nokia N70, Nokia N90
Platform(s): S60 2nd Edition, FP3
S60 2nd Edition FP3
Created: User:Technical writer 1 (13 Oct 2005)
Last edited: hamishwillee (21 Jun 2012)



The CAknForm UI component does not render correctly on S60 2nd Edition, FP3 devices if the application using it does not have skin support enabled.


An application that runs on a S60 2nd Edition, Feature Pack 3 or 3rd Edition device and uses forms (CAknForm) must have skin support enabled. Otherwise forms will be incorrectly rendered.
Skin support is enabled in the application UI class (derived from CAknAppUi) method ConstructL() by passing EAknEnableSkin flag to base class's constructor:

void CMyAppUi::ConstructL()

Note that the form layout problem does not appear in applications running on the S60 2nd Edition, FP3 emulator.

How to reproduce

Compare the layout of a CAknForm on a device with and without the EAknEnableSkin flag in use.
This problem can be reproduced also with SDK example applications using the CAknForm class (e.g., Form, Popupfield examples).


(See detailed description).

This page was last modified on 21 June 2012, at 00:51.
18 page views in the last 30 days.