diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-12 22:48:29 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-12 22:48:29 +0800 |
| commit | b5f8ec99fd8e79871b2a5df0966f29bcf244632f (patch) | |
| tree | d66b2c9b749c85bbf5e6affad00fadbc79eb567a /Label.qml | |
| parent | 6188a0034cb971f71a1683450b1bc4dce8d45d4c (diff) | |
Headings support
Diffstat (limited to 'Label.qml')
| -rw-r--r-- | Label.qml | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -5,10 +5,18 @@ import Bootstrap 5.3 Label { id: control font { - family: Bootstrap.bodyFont.family - pointSize: Bootstrap.bodyFont.pointSize - weight: Bootstrap.bodyFont.weight + family: Bootstrap.heading + ? Bootstrap.headingFont.family + : Bootstrap.bodyFont.family + pointSize: Bootstrap.heading + ? Bootstrap.headingFontSize(parent.width) + : Bootstrap.bodyFont.pointSize + weight: Bootstrap.heading + ? Bootstrap.headingFont.weight + : Bootstrap.bodyFont.weight } - color: Bootstrap.bodyColor + color: Bootstrap.heading + ? Bootstrap.headingColor + : Bootstrap.bodyColor linkColor: control.palette.link } |