Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kalendar
Commits
5a96d6b1
Commit
5a96d6b1
authored
Oct 28, 2021
by
Claudio Cambra
Browse files
Added minimum width to tag labels to prevent background borkage. Fixes
#50
parent
0fa5b617
Pipeline
#92064
passed with stage
in 4 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/contents/ui/Tag.qml
View file @
5a96d6b1
...
...
@@ -77,9 +77,10 @@ Item {
anchors.fill
:
parent
QQC2.Label
{
id
:
label
horizont
alAlignment
:
Q
t
.
Align
Left
vertic
alAlignment
:
Q
t
.
Align
V
Center
vertic
alAlignment
:
Tex
t
.
Align
VCenter
horizont
alAlignment
:
Tex
t
.
Align
H
Center
Layout.fillWidth
:
true
Layout.minimumWidth
:
Kirigami
.
Units
.
gridUnit
*
1.5
Layout.leftMargin
:
borderCover
.
anchors
.
leftMargin
Layout.rightMargin
:
tagRoot
.
showAction
?
0
:
Kirigami
.
Units
.
smallSpacing
Layout.topMargin
:
tagRoot
.
showAction
?
0
:
Kirigami
.
Units
.
smallSpacing
...
...
@@ -90,8 +91,9 @@ Item {
}
Kirigami.Heading
{
id
:
heading
horizontalAlignment
:
Qt
.
AlignLeft
verticalAlignment
:
Qt
.
AlignVCenter
verticalAlignment
:
Text
.
AlignVCenter
horizontalAlignment
:
Text
.
AlignHCenter
Layout.minimumWidth
:
Kirigami
.
Units
.
gridUnit
*
1.5
Layout.fillWidth
:
true
Layout.leftMargin
:
borderCover
.
anchors
.
leftMargin
Layout.topMargin
:
Kirigami
.
Units
.
smallSpacing
...
...
Claudio Cambra
@clau-cambra
mentioned in issue
#61 (closed)
·
Nov 06, 2021
mentioned in issue
#61 (closed)
mentioned in issue #61
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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