Forums

OverviewFelgo 2 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support