Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    OSX: QTreeWidgetItem with custom widgets

    General and Desktop
    3
    3
    2695
    Loading More Posts
    • 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.
    • S
      schlegz76 last edited by

      I'm currently developing an app for both Windows and Mac platforms that has a QTreeWidget with items assigned various custom widgets via setWidgetItem(). These custom widgets are built in QT Designer using a QWidget base with various widgets/controls added to them. Very standard, nothing fancy going on. Stylesheets have been assigned via QT Designer to set the background-color, etc on the tree items.

      On the Windows platform, the tree scrolls vertically correctly. On the Mac platform, when scrolling the tree vertically, the tree items move, but the various widgets contained within the custom widgets remain stationary. Any ideas on what could be wrong or where I should look?

      1 Reply Last reply Reply Quote 0
      • S
        some.birdie last edited by

        I also have this problem (on Mac only). Have you solved this?

        1 Reply Last reply Reply Quote 0
        • S
          steno last edited by

          "This is a bug in qt. ":https://bugreports.qt-project.org/browse/QTBUG-24600

          1 Reply Last reply Reply Quote 0
          • First post
            Last post