Archived:Form UI component assumes skin support (Known Issue)
The article is believed to be still valid for the original topic scope.
Article Metadata
Tested with
Compatibility
Article
Contents |
Overview
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.
Description
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()
{
BaseConstructL(EAknEnableSkin);
..
}
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).
Solution
(See detailed description).


(no comments yet)