Launcher: missed import/style fixes
This commit is contained in:
parent
1f24f1b2bb
commit
0a1f6d406c
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
import QtQuick 2.4
|
import QtQuick 2.4
|
||||||
|
import FlightGear 1.0
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
|
@ -36,14 +36,14 @@ SettingControl {
|
||||||
id: label
|
id: label
|
||||||
text: root.label
|
text: root.label
|
||||||
anchors.verticalCenter: chooseButton.verticalCenter
|
anchors.verticalCenter: chooseButton.verticalCenter
|
||||||
color: (root.enabled ? "black" : Style.inactiveThemeColor)
|
color: (root.enabled ? Style.baseTextColor : Style.disabledTextColor)
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: currentPath
|
id: currentPath
|
||||||
text: root.isDefault ? qsTr("%1 (default)").arg(root.defaultPath) : root.path
|
text: root.isDefault ? qsTr("%1 (default)").arg(root.defaultPath) : root.path
|
||||||
anchors.verticalCenter: chooseButton.verticalCenter
|
anchors.verticalCenter: chooseButton.verticalCenter
|
||||||
color: (root.enabled ? "black" : Style.inactiveThemeColor)
|
color: (root.enabled ? Style.baseTextColor : Style.disabledTextColor)
|
||||||
font.italic: true
|
font.italic: true
|
||||||
anchors.left: label.right
|
anchors.left: label.right
|
||||||
anchors.leftMargin: Style.margin
|
anchors.leftMargin: Style.margin
|
||||||
|
|
Loading…
Add table
Reference in a new issue