Commit 59c3fde2 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

Use bold and add more heading spacing

parent 990fc9f8
Pipeline #81183 passed with stage
in 2 minutes and 1 second
...@@ -376,7 +376,7 @@ Item { ...@@ -376,7 +376,7 @@ Item {
Kirigami.MnemonicData.controlType: Kirigami.MnemonicData.FormLabel Kirigami.MnemonicData.controlType: Kirigami.MnemonicData.FormLabel
Kirigami.MnemonicData.label: item.Kirigami.FormData.label Kirigami.MnemonicData.label: item.Kirigami.FormData.label
text: Kirigami.MnemonicData.richTextLabel text: Kirigami.MnemonicData.richTextLabel
font.weight: root.wideMode || item.Kirigami.FormData.isSection ? Font.Normal : Font.DemiBold // use bold in narrow layouts for contrast font.weight: root.wideMode || item.Kirigami.FormData.isSection ? Font.Normal : Font.Bold // use bold in narrow layouts for contrast
level: item.Kirigami.FormData.isSection ? 3 : 5 level: item.Kirigami.FormData.isSection ? 3 : 5
...@@ -399,7 +399,7 @@ Item { ...@@ -399,7 +399,7 @@ Item {
Layout.fillWidth: !root.wideMode Layout.fillWidth: !root.wideMode
wrapMode: Text.Wrap wrapMode: Text.Wrap
Layout.topMargin: root.wideMode && item.Kirigami.FormData.buddyFor.parent != root ? item.Kirigami.FormData.buddyFor.y : ((index === 0 || root.wideMode) ? 0 : Kirigami.Units.smallSpacing) Layout.topMargin: root.wideMode && item.Kirigami.FormData.buddyFor.parent != root ? item.Kirigami.FormData.buddyFor.y : ((index === 0 || root.wideMode) ? 0 : Kirigami.Units.smallSpacing * 2)
onItemChanged: { onItemChanged: {
if (!item) { if (!item) {
labelItem.destroy(); labelItem.destroy();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment