mirror of
https://github.com/developersu/ClearClock.git
synced 2025-05-14 19:20:26 +03:00
Config gui tweaks
This commit is contained in:
parent
5e7db336c8
commit
3010d2fd54
2 changed files with 12 additions and 24 deletions
|
@ -167,14 +167,12 @@ Item {
|
|||
|
||||
QtControls.SpinBox {
|
||||
id: clockFontSizeSpinBox
|
||||
|
||||
textFromValue: function(value, locale) {
|
||||
return qsTr("%1px").arg(value);
|
||||
}
|
||||
from: 10
|
||||
to: 350
|
||||
}
|
||||
|
||||
QtControls.Label {
|
||||
text: "px"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -242,16 +240,12 @@ Item {
|
|||
|
||||
QtControls.SpinBox {
|
||||
id: dayFontSizeSpinBox
|
||||
|
||||
textFromValue: function(value, locale) {
|
||||
return qsTr("%1px").arg(value);
|
||||
}
|
||||
from: 10
|
||||
to: 350
|
||||
}
|
||||
|
||||
QtControls.Label {
|
||||
text: "px"
|
||||
opacity: if (enabled) 1
|
||||
else 0.4
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -339,16 +333,12 @@ Item {
|
|||
|
||||
QtControls.SpinBox {
|
||||
id: dateFontSizeSpinBox
|
||||
|
||||
textFromValue: function(value, locale) {
|
||||
return qsTr("%1px").arg(value);
|
||||
}
|
||||
from: 10
|
||||
to: 350
|
||||
}
|
||||
|
||||
QtControls.Label {
|
||||
text: "px"
|
||||
opacity: if (enabled) 1
|
||||
else 0.4
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,23 +47,21 @@ QtLayouts.RowLayout {
|
|||
|
||||
QtControls.Button {
|
||||
id: clockBoldCheckBox
|
||||
// ToolTip.text: i18n("Bold text")
|
||||
icon.name: "format-text-bold"
|
||||
checkable: true
|
||||
// Accessible.name: ToolTip.text
|
||||
}
|
||||
|
||||
QtControls.Button {
|
||||
id: clockItalicCheckBox
|
||||
// ToolTip.text: i18n("Italic text")
|
||||
icon.name: "format-text-italic"
|
||||
checkable: true
|
||||
// Accessible.name: ToolTip.text
|
||||
}
|
||||
|
||||
QtControls.SpinBox {
|
||||
id: clockFontSizeSpinBox
|
||||
|
||||
textFromValue: function(value, locale) {
|
||||
return qsTr("%1px").arg(value);
|
||||
}
|
||||
from: 10
|
||||
to: 350
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue