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

Forums

OverviewFelgo 3 Support (Qt 5) › AppTextField error invalid property textColor

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

    jrrobles79

    For some reason my Qt creator is givin an invalid property error on the property ‘textColor’ , however my project compiles normally, is this an error on Qt or I need to do something to fix it?

     AppTextField {
                    id: tfTotalToWithDraw
                    property bool valid: true
                    width: parent.width / 2
                    height: dp(24)
                    leftPadding: dp(10)
                    placeholderText: "$ 0.0"
                    placeholderColor: "#8D93A9"
                    text: ""
                    backgroundColor: "#EAEDF5"
                    font.family: robotoMedium.name
                    font.pixelSize: sp(20)
                    font.bold: true
                    textColor: "#5E657E"
                    horizontalAlignment: Text.AlignLeft
                    anchors.left: parent.left               
                    anchors.topMargin: dp(10)
                  

     

    #22680

    Alex
    Felgo Team

    Hi,

    this property was missing in the autocompletion file after transitioning the internal Qt component to Qt Quick Controls 2 with the last update. We fixed that now and it will be available with the next update. It will only show as error in QtC but compiles fine as you reported, you can ignore it.

    Alternatively you can also just use the “color” property instead.

    Cheers,
    Alex

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