Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QCombobox (small) rendering on OS X Mavericks
Forum Updated to NodeBB v4.3 + New Features

QCombobox (small) rendering on OS X Mavericks

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 593 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    litearc
    wrote on last edited by
    #1

    When I use the small widget attribute on a combo box on OS X Mavericks, it doesn't look the exact same as the native. For example, let's say I have in my dialog file:

    @
    combo_box = new QComboBox;
    combo_box->addItem("Developer Tools");
    ...
    setAttribute(Qt::WA_MacSmallSize);
    @

    The combo box displayed in Qt vs the one found in Xcode are shown below.

    !http://i39.tinypic.com/33zd368.png(Qt 5.2 vs OS X Mavericks)!

    Notice that the one in Qt is shifted slightly up. I'm not sure if other widgets or widget sizes are affected. It's not a major issue, but I wanted to point it out. Thanks!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved