feat(ui): add hide separator setting
This commit is contained in:
@@ -29,6 +29,7 @@ KCM.SimpleKCM {
|
||||
property alias cfg_separatorGapLabel: separatorGapLabelSpinBox.value
|
||||
property alias cfg_separatorGapTrack: separatorGapTrackSpinBox.value
|
||||
property alias cfg_separatorHeight: separatorHeightSpinBox.value
|
||||
property alias cfg_hideSeparator: hideSeparatorCheckBox.checked
|
||||
readonly property var availableFonts: Qt.fontFamilies()
|
||||
readonly property var labelVisibilityOptions: [{
|
||||
"text": i18n("Auto hide when idle"),
|
||||
@@ -198,6 +199,13 @@ KCM.SimpleKCM {
|
||||
to: 100
|
||||
}
|
||||
|
||||
QQC2.CheckBox {
|
||||
id: hideSeparatorCheckBox
|
||||
|
||||
Kirigami.FormData.label: i18n("Separator:")
|
||||
text: i18n("Hide separator")
|
||||
}
|
||||
|
||||
SectionHeader {
|
||||
title: i18n("Label")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user