Namespaces

Variants
Actions

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 over the next few weeks. Thanks for all your past and future contributions.

ListStretching

From Wiki
Jump to: navigation, search
Article Metadata
Code ExampleArticle
Created: alice77 (22 Feb 2008)
Last edited: hamishwillee (25 Jul 2012)

Normally Double-style lists show the text in two lines. But in some devices like E90 when you open in large screen mode EnableListStreching API allows use the space properly by appended the second line to the first line if layout permits.

Doubleline.jpg

Singlieline.jpg

Code Example :File:Liststretching.zip

Note: List stretching is available only in Nokia E90. The APIs exist in all S60 3rd Edition, Feature Pack 1 devices, but only have an effect in Nokia E90. Applications using the EnableStretching() function can only be run in devices with S60 3rd Edition, Feature Pack 1.

Currently the following lists support stretching: CAknDouble2GraphicLargeGraphicStyleListBox CAknDouble2GraphicLargeStyleListBox CAknDouble2GraphicStyleListBox CAknDouble2LargeStyleListBox CAknDoubleGraphicStyleListBox CAknDoubleLargeStyleListBox CAknDoubleNumberStyleListBox CAknDoubleStyle2ListBox CAknDoubleStyleListBox CAknDoubleTimeStyleListBox CAknFormDoubleGraphicStyleListBox CAknFormDoubleStyleListBox CAknSettingNumberStyleListBox CAknSettingStyleListBox CAknSingleGraphicHeadingStyleListBox CAknSingleHeadingStyleListBox CAknSingleNumberHeadingStyleListBox

This page was last modified on 25 July 2012, at 10:55.
40 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×