[Spinbox] change font from value (Controls 2.0)



  • Hi,
    i created a Spinbox with QtQuick.Controls 2.0 an I want to change the font from the value.
    in the API there stand "font: ", but in anyway i could not change any thing like Bold letters.
    have anybody an idea?
    Thanks

    Update:
    I solved it alone:

    property font my_font: Qt.font({
    bold: true
    })

    ....thats all



  • SpinBox {
        font.bold: true
    }
    

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.