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

Forums

OverviewFelgo 2 Support (Qt 5) › Can't place button

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

    Isaac Franks

    Hi,

    I just started with v-play and I am trying to simply place some buttons on a page, but each time I insert a button below Page it shows that red line on the side telling me that I am doing it wrong. Can anyone help resolve this for me? I really am just learning Qt language and Felgo.

    Thanks!

    #19535

    Günther
    Felgo Team

    Hi Isaac,

    do you have a code example ready, which can help us identify possible mistakes?

    A simple Page with a Button example could look somehow like this:

    import Felgo 3.0
    
    App {
    
      Page {
        AppButton {
          text: "Click me!"
          anchors.centerIn: parent
          onClicked: text = "You clicked."
        }
      }
    
    }

     

    Best,
    Günther

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