Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Comboboxes are drawn wrong.

Comboboxes are drawn wrong.

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 729 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.
  • A Offline
    A Offline
    aptyp
    wrote on last edited by
    #1

    I use next code for display qml:

    @ QQuickView *view = new QQuickView(qml->getPath());
    QWidget *widget = QWidget::createWindowContainer(view);
    widget->setMinimumSize(100, 100);
    widget->setMaximumSize(1000, 1000);
    widget->setFocusPolicy(Qt::TabFocus);
    widget->show();@

    This qml contains comboboxes and they are drawn wrong, it looks like Qt draw popup list from screen coordinates, not from widget's; they are moved from their right positions.

    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