equal
deleted
inserted
replaced
293 } |
293 } |
294 else |
294 else |
295 { |
295 { |
296 TRAP_IGNORE( iList->ScrollBarFrame()->SetScrollBarVisibilityL( |
296 TRAP_IGNORE( iList->ScrollBarFrame()->SetScrollBarVisibilityL( |
297 CEikScrollBarFrame::EOff, CEikScrollBarFrame::EOff) ); |
297 CEikScrollBarFrame::EOff, CEikScrollBarFrame::EOff) ); |
298 |
|
299 // Enable scrolling |
|
300 iList->DisableScrolling( EFalse ); |
|
301 } |
298 } |
302 |
299 |
303 layoutRect.LayoutRect( rectParent, |
300 layoutRect.LayoutRect( rectParent, |
304 AknLayoutScalable_Avkon::list_choice_list_pane( variety ).LayoutLine() ); |
301 AknLayoutScalable_Avkon::list_choice_list_pane( variety ).LayoutLine() ); |
305 iList->SetRect( layoutRect.Rect() ); |
302 iList->SetRect( layoutRect.Rect() ); |
529 void HandlePointerEventL(const TPointerEvent &aPointerEvent) |
526 void HandlePointerEventL(const TPointerEvent &aPointerEvent) |
530 { |
527 { |
531 |
528 |
532 if ( AknLayoutUtils::PenEnabled() ) |
529 if ( AknLayoutUtils::PenEnabled() ) |
533 { |
530 { |
534 |
|
535 // Make sure that scrolling is enabled for choicelist |
|
536 if ( iList->ScrollingDisabled() ) |
|
537 { |
|
538 iList->DisableScrolling( EFalse ); |
|
539 } |
|
540 |
|
541 TRect ctrlArea = iList->Rect(); |
531 TRect ctrlArea = iList->Rect(); |
542 |
532 |
543 if ( aPointerEvent.iType == TPointerEvent::EButton1Down ) |
533 if ( aPointerEvent.iType == TPointerEvent::EButton1Down ) |
544 { |
534 { |
545 if ( !ctrlArea.Contains( aPointerEvent.iPosition ) ) |
535 if ( !ctrlArea.Contains( aPointerEvent.iPosition ) ) |