1
0
Fork 0

Launcher styling tweaks

This commit is contained in:
James Turner 2018-06-27 16:46:22 +01:00
parent ea5608b769
commit 6535846732
4 changed files with 9 additions and 3 deletions

View file

@ -76,7 +76,7 @@ Item {
id: choicesRepeater
model: root.model
delegate:
Text {
StyledText {
id: choiceText
// Taken from TableViewItemDelegateLoader.qml to follow QML role conventions

View file

@ -52,6 +52,7 @@ FocusScope
color: Style.baseTextColor
focus: true
font.pixelSize: Style.baseFontPixelSize
onTextChanged: {
if (root.autoSubmit) {

View file

@ -79,12 +79,15 @@ SettingControl {
font.family: "Courier"
selectByMouse: true
wrapMode: TextEdit.WordWrap
font.pixelSize: Style.baseFontPixelSize
color: Style.baseTextColor
Text {
StyledText {
id: placeholder
visible: (edit.text.length == 0) && !edit.activeFocus
text: root.placeholder
color: Style.baseTextColor
font.family: "Courier"
color: Style.disabledTextColor
}
}
}

View file

@ -26,6 +26,8 @@ Item {
readOnly: true
wrapMode: TextEdit.Wrap
font.pixelSize: Style.baseFontPixelSize
color: Style.baseTextColor
text: _config.htmlForCommandLine();
}