Gaps between findbox and listbox.
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);[/CODE]
Re: Gaps between findbox and listbox.
You might want to check first wiki examples and then see that you are using the code correctly. And after that, if it still does not show correctly, do try taking screenshot to illustrate the problem