phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlaunchercustomlistbox.cpp
equal
deleted
inserted
replaced
108 // | | Content [2] | |
108 // | | Content [2] | |
109 // | | | |
109 // | | | |
110 // ------------------------------------------------ |
110 // ------------------------------------------------ |
111 // |
111 // |
112 |
112 |
113 |
113 // Calculate listbox rect |
|
114 TAknWindowComponentLayout listPaneLayout( TAknWindowComponentLayout::Compose( |
|
115 AknLayoutScalable_Apps::phob2_cc_listscroll_pane( 0 ), |
|
116 TAknWindowComponentLayout::Compose( |
|
117 AknLayoutScalable_Apps::phob2_cc_list_pane( 0 ), |
|
118 AknLayoutScalable_Apps::list_double_large_graphic_phob2_cc_pane( 0 ) ) ) ); |
|
119 |
|
120 TAknLayoutRect listPaneLayoutRect; |
|
121 listPaneLayoutRect.LayoutRect( TRect( Size() ), listPaneLayout.LayoutLine() ); |
|
122 TRect listPaneRowRect( listPaneLayoutRect.Rect() ); |
|
123 |
|
124 // Set listbox item height |
|
125 SetItemHeightL( listPaneRowRect.Height() ); |
|
126 iItemDrawer->SetItemCellSize( listPaneRowRect.Size() ); |
|
127 |
|
128 |
|
129 // Reset sub cell array |
114 iColumnData->ResetSLSubCellArray(); |
130 iColumnData->ResetSLSubCellArray(); |
115 |
131 |
116 // Comm method icon |
132 // Comm method icon |
117 TAknWindowLineLayout gl( AknLayoutScalable_Apps::list_double_large_graphic_phob2_cc_pane_g1( 0 ) ); |
133 TAknWindowLineLayout gl( AknLayoutScalable_Apps::list_double_large_graphic_phob2_cc_pane_g1( 0 ) ); |
118 iColumnData->SetGraphicSubCellL( 0, gl ); |
134 iColumnData->SetGraphicSubCellL( 0, gl ); |