Results 1 to 2 of 2

Thread: Making icons in QMenu Bigger?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2006
    Posts
    250
    Thanks
    19
    Thanked 49 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Making icons in QMenu Bigger?

    Hi all,

    I'm abusing a QToolBar and QToolButtons to make my toolbox for my app (previously I used a subclasses QListWidget but now I need to group tools). It looks like the attached image. This works pretty nicely but the problem is that when my tool names are two lines long, they are too tall for the menu items.

    Now I could do some magic with messing with the QAction text when actions are selected to remove the newline, but I'd rather just increase the height of each item in the menu. Is this possible? I couldn't find any way to change the height of menu items in the docs..
    Attached Images Attached Images

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
  •  
Qt is a trademark of The Qt Company.