Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38157

TabView currentIndex bound to c++ q_property inited not to zero -> content of currentTab drawn to high

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.3.0
    • 5.0.0, 5.2.0, 5.2.1
    • Quick: Controls 1
    • None
    • Win 32 - Visual Studio 2012
    • 30e6d442ff6fd140e18fca7c5b203b87507854c8

      When binding the currentIndex property of a TabView to a C++ Q_PROPERTY, and initializing this Q_PROPERTY to eg, 1 (so not the first, but second tab is selected), the content of the selected tab is drawn to high (it anchors the top of the tab contents to the top of the tab label, while it should be anchored to the bottom of the label).
      In attachment the files (.cpp, .h and .qml) to reproduce the error.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            bachewii Jens
            janwi Jan Willemsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes