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

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

      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.

        1. 2dForm.mp4
          13.10 MB
        2. screenshot-1.png
          screenshot-1.png
          52 kB
        3. screenshot-2.png
          screenshot-2.png
          210 kB
        4. UntitledProject.zip
          150 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes