Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User sani_ok's Avatar
    Join Date
    Nov 2011
    Posts
    47
    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 Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,667
    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 C++
    Replies: 24
    Last Post: 2006-06-03, 07:06
  2. listbox and findbox
    By billqu in forum Symbian C++
    Replies: 2
    Last Post: 2006-05-20, 11:24
  3. Listbox with findbox, overlapping?
    By JSpike in forum Symbian C++
    Replies: 2
    Last Post: 2006-04-06, 21:17
  4. listbox 挡住 findbox 怎么解决
    By cool_li in forum Symbian
    Replies: 5
    Last Post: 2005-09-29, 12:28
  5. how to use listbox with findbox
    By billqu in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved