Results 1 to 1 of 1

Thread: QComboBox: auto-ajust the width of pull down menu according to inserted item

  1. #1
    Join Date
    Jul 2014
    Posts
    23
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QComboBox: auto-ajust the width of pull down menu according to inserted item

    Hi,

    As title, how to auto-ajust the width of pull down menu according to maximum length of all inserted items, thanks.
    Last edited by jasonhxs; 10th March 2015 at 02:22.

Similar Threads

  1. Replies: 8
    Last Post: 22nd March 2016, 04:39
  2. Replies: 2
    Last Post: 9th March 2015, 11:02
  3. Auto adjust width of widget
    By Sjaacko in forum Newbie
    Replies: 4
    Last Post: 7th October 2011, 07:47
  4. Replies: 4
    Last Post: 5th January 2011, 22:15
  5. QLabel auto width?
    By DiamonDogX in forum Qt Programming
    Replies: 3
    Last Post: 14th April 2009, 07:25

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.