mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: Proper button color
Make the "map it" button follow the theme color. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
b1f4a2975f
commit
12ac75c7dd
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ Item {
|
||||||
id: gpsButton
|
id: gpsButton
|
||||||
height: Math.round(1.5 * Kirigami.Units.gridUnit)
|
height: Math.round(1.5 * Kirigami.Units.gridUnit)
|
||||||
width: dive.gps == "" ? 0 : buttonText.width + Kirigami.Units.gridUnit
|
width: dive.gps == "" ? 0 : buttonText.width + Kirigami.Units.gridUnit
|
||||||
color: subsurfaceTheme.darkPrimaryColor
|
color: subsurfaceTheme.darkerPrimaryColor
|
||||||
antialiasing: true
|
antialiasing: true
|
||||||
radius: Kirigami.Units.smallSpacing * 2
|
radius: Kirigami.Units.smallSpacing * 2
|
||||||
anchors {
|
anchors {
|
||||||
|
@ -70,7 +70,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
id: buttonText
|
id: buttonText
|
||||||
text: qsTr("Map it")
|
text: qsTr("Map it")
|
||||||
color: subsurfaceTheme.darkPrimaryTextColor
|
color: subsurfaceTheme.darkerPrimaryTextColor
|
||||||
anchors {
|
anchors {
|
||||||
horizontalCenter: parent.horizontalCenter
|
horizontalCenter: parent.horizontalCenter
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
|
|
Loading…
Add table
Reference in a new issue