Hi, All.
We are using listbox - CAknSingle2GraphicPopupMenuStyleListBox, and findbox - CAknSearchField.
We have issues on some devices (e.g. E5). There is some gaps between find and listbox. Though coordinates seem to be correct.
How we can remove this gap?
Code:iListBox = new (ELeave) CAknSingle2GraphicPopupMenuStyleListBox; iListBox->ConstructL(this, EAknListBoxSelectionList); iListBox->SetContainerWindowL(*this); iListBox->SetListBoxObserver(this); iListBox->ItemDrawer()->ColumnData()->SetSkinEnabledL(ETrue); iListBox->CreateScrollBarFrameL(ETrue); iListBox->ScrollBarFrame()->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto); iListBox->ItemDrawer()->ColumnData()->SetIconArray(CreateIconArrayL()); iItemArray = new (ELeave) CDesCArrayFlat(8); iListBox->Model()->SetItemTextArray(iItemArray); iListBox->Model()->SetOwnershipType(ELbmDoesNotOwnItemArray); iFindBox = CAknSearchField::NewL(*this, findBoxStyle, NULL, FINE_BOX_TEXT_LIMIT); iFindBox->SetSkinEnabledL(EFalse); iFindBox->SetFocus(ETrue);

Reply With Quote

