Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Sep 2006

    Resize of QComboBox Popup ListBox


    I am currently trying to customize QComboBox Popup List. As the default behaviour is not what I want.

    My application is always in the landscape mode. So I don't know how it would like in the portrait mode.

    In the landscape mode, the height of popup listbox is the same as the display height, even if there are only a few items to be shown. So, I mean the listbox height is not adjusted depending on the number of items to be shown.
    This does not look good. So I would like to adjust the popup listbox size.

    I have read throw the QComboBox document, QStyle etc. But I have not succeeded in any ways.
    I tried to change the size of the listview in the customised QComboBox, but it seems there is a container behind the listview. Though I could change the size of listbox, the weired container background is displayed behind the listview and its height is still not adjusted for the contents....

    If someone could help me, it would be great....

    Or is this a bug? as I think no one would be satisfied with the current behaviour. Or I am doing something wrong.

  2. #2
    Nokia Developer Expert
    Join Date
    Feb 2008

    Re: Resize of QComboBox Popup ListBox

Similar Threads

  1. QComboBox Allignment
    By maruthisri in forum Qt
    Replies: 1
    Last Post: 2010-06-08, 14:11
  2. Popup with "SingleLarge" style listbox
    By zdsnet163@163.com in forum Symbian User Interface
    Replies: 4
    Last Post: 2009-12-18, 16:01
  3. popup listbox from bottom like URL history in browser
    By anantmb in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-10-19, 11:57
  4. Popup Listbox in CAknForm
    By samoylik in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-08-22, 10:46

Posting Permissions

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