Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30231

Embedded QML Designer does not show Item's background

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 12.0.1
    • Quick Designer
    • Windows 10 22H2/Ubuntu 22.04

      Code

      import QtQuick
      
      Rectangle {
          width: 200
          height: 200
          color: "green"
      
          Rectangle {
              width: 100
              height: 100
              color: "blue"
          }
      }
      

       

      Expected outcome
      We see a blue square within a green square

       

      Actual outcome
      We see a blue square within a checkerboarded gray/white square

       

      Notes
      Qt Design Studio 4.3.2 shows the expected outcome

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

            semih.yavuz Semih Yavuz
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes