2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
3 <!-- This component and the accompanying materials are made available under the terms of the License |
3 <!-- This component and the accompanying materials are made available under the terms of the License |
4 "Eclipse Public License v1.0" which accompanies this distribution, |
4 "Eclipse Public License v1.0" which accompanies this distribution, |
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
6 <!-- Initial Contributors: |
6 <!-- Initial Contributors: |
7 Nokia Corporation - initial contribution. |
7 Nokia Corporation - initial contribution. |
8 Contributors: |
8 Contributors: |
9 --> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"><concept id="GUID-CB548959-A1D6-4585-B8E3-B09E37E0CB43" xml:lang="en"><title>List |
9 --> |
10 layouts</title><prolog><metadata><keywords></keywords></metadata></prolog><conbody> |
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-CB548959-A1D6-4585-B8E3-B09E37E0CB43" xml:lang="en"><title>List |
|
13 layouts</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
11 <p>List items can in general be more complex (contain more elements) than |
14 <p>List items can in general be more complex (contain more elements) than |
12 grid items. Certain layout rules apply to all lists:</p> |
15 grid items. Certain layout rules apply to all lists:</p> |
13 <ul> |
16 <ul> |
14 <li><p>All items in a list have equal height on the screen (forms do not follow |
17 <li><p>All items in a list have equal height on the screen (forms do not follow |
15 this rule in the Edit state, see <xref href="GUID-1AA32C40-CDE0-4627-A634-7C07BB1ED67B.dita">Forms</xref>). </p></li> |
18 this rule in the Edit state, see <xref href="GUID-1AA32C40-CDE0-4627-A634-7C07BB1ED67B.dita">Forms</xref>). </p></li> |
27 in one row. This enables displaying more items in the list. In list stretching, |
30 in one row. This enables displaying more items in the list. In list stretching, |
28 the second row is moved next to the first row. List stretching is ON by default, |
31 the second row is moved next to the first row. List stretching is ON by default, |
29 but application can decide to disable it.</p> |
32 but application can decide to disable it.</p> |
30 <fig id="GUID-425291FD-35BB-4145-A509-9BBC5B18022C"> |
33 <fig id="GUID-425291FD-35BB-4145-A509-9BBC5B18022C"> |
31 <title>Two row list in stretched mode in landscape layout</title> |
34 <title>Two row list in stretched mode in landscape layout</title> |
32 <image href="GUID-ED91B1F0-552D-46A1-97CD-7E1CD7AFE358_d0e81329_href.png" placement="inline"></image> |
35 <image href="GUID-D2263F64-2582-473A-B939-ACEBF8E974BF_d0e86793_href.png" placement="inline"/> |
33 </fig> |
36 </fig> |
34 <section id="GUID-A3F9AF92-392F-4EF6-8CFB-5B8CF0AA5210"><title>Using list layouts in |
37 <section id="GUID-A3F9AF92-392F-4EF6-8CFB-5B8CF0AA5210"><title>Using |
35 C++ applications</title><p>The API to use for lists is the Lists |
38 list layouts in C++ applications</title><p>The API to use for lists is the <xref format="html" href="specs/guides/Lists_API_Specification/Lists_API_Specification.html" scope="peer">Lists API</xref>. For implementation information, see <xref format="htrml" href="specs/guides/Lists_API_Specification/Lists_API_Specification.html#Lists_API_Specification.topic3" scope="peer">Using the Lists API</xref>.</p><p>For grids, the APIs to use |
36 API. For implementation information, see Using |
39 are the <xref format="html" href="specs/guides/Grids_API_Specification/Grids_API_Specification.html" scope="peer">Grids API</xref> and the <xref format="html" href="specs/guides/Lists_API_Specification/Lists_API_Specification.html" scope="peer">Lists API</xref>. For implementation information, see <xref format="html" href="specs/guides/Grids_API_Specification/Grids_API_Specification.html#Grids_API_Specification.topic3" scope="peer">Using the Grids API</xref> and <xref format="htrml" href="specs/guides/Lists_API_Specification/Lists_API_Specification.html#Lists_API_Specification.topic3" scope="peer">Using the Lists API</xref>.</p></section> |
37 the Lists API.</p><p>For grids, the APIs to use are the Grids API and the Lists |
|
38 API. For implementation information, see Using |
|
39 the Grids API and Using |
|
40 the Lists API.</p></section> |
|
41 </conbody></concept> |
40 </conbody></concept> |