×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    47

    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);

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    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

Similar Threads

  1. a error about listbox and a findbox
    By billqu in forum Symbian
    Replies: 24
    Last Post: 2006-06-03, 07:06
  2. listbox and findbox
    By billqu in forum Symbian
    Replies: 2
    Last Post: 2006-05-20, 11:24
  3. Listbox with findbox, overlapping?
    By JSpike in forum Symbian
    Replies: 2
    Last Post: 2006-04-06, 21:17
  4. how to use listbox with findbox
    By billqu in forum Symbian
    Replies: 2
    Last Post: 2005-01-10, 03:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×