EventDelegate: better separationSpacing formatting
This commit is contained in:
parent
0ccf3d03c9
commit
59748c7cc8
|
@ -34,11 +34,14 @@ HColumnLayout {
|
||||||
eventContent.hoveredSelectable ? Qt.IBeamCursor :
|
eventContent.hoveredSelectable ? Qt.IBeamCursor :
|
||||||
Qt.ArrowCursor
|
Qt.ArrowCursor
|
||||||
|
|
||||||
readonly property int separationSpacing:
|
readonly property int separationSpacing: theme.spacing * (
|
||||||
dayBreak ? theme.spacing * 4 :
|
dayBreak ? 4 :
|
||||||
talkBreak ? theme.spacing * 6 :
|
talkBreak ? 6 :
|
||||||
combine ? theme.spacing / (compact ? 4 : 2) :
|
combine && compact ? 0.25 :
|
||||||
theme.spacing * (compact ? 1 : 2)
|
combine ? 0.5 :
|
||||||
|
compact ? 1 :
|
||||||
|
2
|
||||||
|
)
|
||||||
|
|
||||||
readonly property alias eventContent: eventContent
|
readonly property alias eventContent: eventContent
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user