Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Pane and binding loop
Forum Update on Monday, May 27th 2025

Pane and binding loop

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 156 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tobias Fensch
    wrote on 30 Aug 2022, 11:02 last edited by Tobias Fensch
    #1

    Hello,

    why is this giving me a binding loop?
    QML Pane: Binding loop detected for property "implicitWidth"

        Pane {
            id: root
            anchors.fill: parent
    
            GridLayout {
                id: rootLayout
                anchors.fill: parent
                columns: 2
                rows: 2
                columnSpacing: 10
                rowSpacing: 10
    
                GroupBox {
                    id: grpCreateProject
                    Layout.preferredWidth: parent.width * 1/3
                    Layout.preferredHeight: 120
                    Layout.column: 0
                    Layout.row: 0
                    title: qsTr("Neues Projekt anlegen")
    
                }
    
                GroupBox {
                    id: grpAvailableProjects
                    Layout.preferredWidth: parent.width * 1/3
                    Layout.fillHeight: true
                    Layout.column: 0
                    Layout.row: 1
                    title: qsTr("Projekt auswählen")
    
                }
    
                GroupBox {
                    Layout.fillWidth: true
                    Layout.fillHeight: true
                    Layout.column: 1
                    Layout.row: 0
                    Layout.rowSpan: 2
                    title: qsTr("Projektinformation")
    
                }
            }
        }
    

    If I use an Item instead of the Pane, the binding loop is gone.

    cheers,
    Tobias

    1 Reply Last reply
    0

    1/1

    30 Aug 2022, 11:02

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved