Provides a text label with metrics and Quey styling. More...
import QtQuick 2.4 import quey.ui 0.1 ApplicationView { Column { anchors.fill: parent anchors.margins: Style.spacing spacing: Style.spacing Label { font: Style.font.heading text: "This is big" color: Style.palette.red } Label { font: Style.font.subheading text: "This is stylish" color: Style.palette.success } Label { text: "This is amazing" color: Style.palette.primary } } }
Based on QtQuick.Text
. Please refer to the Qt documentation for more information.
metrics : TextMetrics |
This property provides metrics based on font and text. Please refer to the Qt documentation for more information.