Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-12725

The result of evaluation in binding doesn't get properly shown in the 2D form view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QDS 4.6.0
    • QDS 4.4
    • 2D View
    • None

    Description

      Please see the attached video and the project for the detail.

      In Screen01.ui.qml, button1 has x and y bound to an evaluation which is based on the root.widthFactor and root.heightFactor, which in turn are calculated at the root.

      Since root.width and root.height are Constants.width and Constants.height respectively, the button1 should be located at (19, 194) in 2D view. 
      However, it's located at the top left, indicating that its x and y are regarded as 0.

      Attachments

        1. 2dForm.mp4
          13.10 MB
        2. UntitledProject.zip
          150 kB
        3. screenshot-1.png
          screenshot-1.png
          52 kB
        4. screenshot-2.png
          screenshot-2.png
          210 kB

        Issue Links

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

          Activity

            People

              thohartm Thomas Hartmann
              mikio_hirai Mikio Hirai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes