Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frameworks
Kirigami
Commits
59c3fde2
Commit
59c3fde2
authored
Sep 16, 2021
by
Devin Lin
🎨
Browse files
Use bold and add more heading spacing
parent
990fc9f8
Pipeline
#81183
passed with stage
in 2 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/controls/FormLayout.qml
View file @
59c3fde2
...
@@ -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
.
Demi
Bold
// 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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment