mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: use textColor instead of diveListTextColor
This color is used for more than just the dive list. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
694e833f90
commit
8ba581a088
4 changed files with 17 additions and 14 deletions
|
@ -96,21 +96,21 @@ Item {
|
|||
text: dive.date + " " + dive.time
|
||||
width: Math.max(locationText.width * 0.45, paintedWidth)
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
color: subsurfaceTheme.diveListTextColor
|
||||
color: subsurfaceTheme.textColor
|
||||
}
|
||||
// let's try to show the depth / duration very compact
|
||||
Kirigami.Label {
|
||||
text: dive.depth + ' / ' + dive.duration
|
||||
width: Math.max(Kirigami.Units.gridUnit * 3, paintedWidth)
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
color: subsurfaceTheme.diveListTextColor
|
||||
color: subsurfaceTheme.textColor
|
||||
}
|
||||
}
|
||||
Kirigami.Label {
|
||||
id: numberText
|
||||
text: "#" + dive.number
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
color: subsurfaceTheme.diveListTextColor
|
||||
color: subsurfaceTheme.textColor
|
||||
anchors {
|
||||
right: parent.right
|
||||
top: locationText.bottom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue