Results 1 to 5 of 5

Thread: QCombobox contents not adjusting itself properly

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2007
    Posts
    28
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default QCombobox contents not adjusting itself properly

    I am creating a combo box with the default properties. The problem comes when the options in the combo box has more width then the combobox width. I do not want the combobox to resize as it has fixed width. I can see that for all the options the Combobox itself add abbreviated text, but for the selected text it gives a truncated effect, I want a consistent behaviour i.e the abbreviated text even on the selected option.
    Does anybody has an idea about this?
    Please see the attached screenshot .
    Attached Images Attached Images

Similar Threads

  1. Contents not Properly Visible in QComboBox
    By merry in forum Qt Programming
    Replies: 4
    Last Post: 25th September 2007, 12:32
  2. Adjusting window to QGraphicsView contents
    By IrYoKu in forum Qt Programming
    Replies: 2
    Last Post: 27th August 2007, 12:10

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.