Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions

Flickable text input field



  • I have a set of textfields inside a Gridlayout. When I click on the textfields it covers the input fields. I am not sure how to move the input fields up/visible when the VirtualKeyboard comes up. Could some one help me in this?

    I tried to use flickable on top of the GridLayout but it did not work. I am posting here a simplified code for understanding.

    GridLayout {
    	id: inputGridLayout
    	anchors.fill: parent
    	rows: 4
    	flow: GridLayout.TopToBottom
    	QtControls.Label { text: "name" }
    	QtControls.Label { text: "age" }
    	QtControls.Label { text: "location" }
    
    	QtControls.TextField {
    		id: name
    	}
    	QtControls.TextField {
    		id: age
    	}
    	QtControls.TextField {
    		id: location
    	}
    }
    


  • BUMP !!!!!!!