Namespaces
Variants
Actions

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

Jump to: navigation, search
Archived.png
Archived: 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

Compatibility
Platform(s): S60 2nd Edition, FP3

Article
Created: User:Technical writer 1 (13 Oct 2005)
Last edited: hamishwillee (21 Jun 2012)

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).

This page was last modified on 21 June 2012, at 03:51.
392 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved