Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › AppTextEdit doesn't allow editing

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22062

    Gabor

    Hi,

    I tried to use the sample on the site:

    import Felgo 3.0
    import QtQuick 2.0
    
    App {
    
        NavigationStack {
    
            Page {
                title: qsTr("Main Page")
    
                MouseArea {
                      anchors.fill: parent
                      onClicked: textEdit.focus = false
                    }
    
                    // background for input
                    Rectangle {
                      anchors.fill: textEdit
                      anchors.margins: -dp(8)
                      color: "lightgrey"
                    }
    
                    // input
                    AppTextEdit {
                      id: textEdit
                      width: dp(200)
                      placeholderText: "What's your name?"
                      anchors.centerIn: parent
                    }
            }
        }
    }
    

    When I click on the gray area nothing happens and I can’t type anything there. What am I missing?

    Thank you for your help.

    #22064

    jrrobles79

    is weird, I quick test your code and worked. ( I don’t have it exactly like yours but it worked)  I copied only the part inside Page, try to add a layout, or position of the component.

     

     

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded