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:CGraphicsContext::ERight list box alignment does not work in some S60 3rd Edition FP1 and FP2 devices (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}}.

CGraphicsContext::ERight alignment for list boxes may not work for S60 3rd Edition Feature Pack 1 or S60 3rd Edition FP2 devices.

Article Metadata
Tested with
Devices(s): Tested with Nokia N95 and Nokia N78
Platform(s): S60 3rd Edition, FP1, S60 3rd Edition, FP2
S60 3rd Edition FP2
S60 3rd Edition FP1
Created: User:Technical writer 1 (17 Sep 2008)
Last edited: hamishwillee (15 Jun 2012)


Using SetColumnAlignmentL()/SetSubCellAlignmentL() with CGraphicsContext::ERight does not work on S60 3rd Edition, FP1 and FP2 devices.

Sample code:

iListBox->ItemDrawer()->ColumnData()->SetColumnAlignmentL(1, CGraphicsContext::ERight );


iListBox->ItemDrawer()->FormattedCellData()->SetSubCellAlignmentL(1, CGraphicsContext::ERight );

This works with the S60 3rd Edition, MR SDK and related devices, but not on the S60 3rd Edition, FP1 SDK (emulator) and on related devices (tested on N95 and N78). This may also affect other FP1 and FP2 devices.

CGraphicsContext::ECenter also doesn't work with some S603rd edition FP1 devices. I tested it on Nokia E63. I am not sure whether this will work on S603rd edition FP2 devices.


No solution exists.

This page was last modified on 15 June 2012, at 06:45.
73 page views in the last 30 days.