1
0
Fork 0

Launcher: missed import/style fixes

This commit is contained in:
James Turner 2021-04-06 09:13:50 +01:00
parent 1f24f1b2bb
commit 0a1f6d406c
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
import QtQuick 2.4
import FlightGear 1.0
Item {
id: root

View file

@ -36,14 +36,14 @@ SettingControl {
id: label
text: root.label
anchors.verticalCenter: chooseButton.verticalCenter
color: (root.enabled ? "black" : Style.inactiveThemeColor)
color: (root.enabled ? Style.baseTextColor : Style.disabledTextColor)
}
Text {
id: currentPath
text: root.isDefault ? qsTr("%1 (default)").arg(root.defaultPath) : root.path
anchors.verticalCenter: chooseButton.verticalCenter
color: (root.enabled ? "black" : Style.inactiveThemeColor)
color: (root.enabled ? Style.baseTextColor : Style.disabledTextColor)
font.italic: true
anchors.left: label.right
anchors.leftMargin: Style.margin