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

Details

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

    Description

      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.

      Attachments

        For Gerrit Dashboard: QTBUG-38157
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes