feat(ui): add hide separator setting

This commit is contained in:
2026-05-30 11:59:43 +00:00
parent de22c05c33
commit c26793dfe2
4 changed files with 18 additions and 1 deletions
+4
View File
@@ -52,6 +52,8 @@ PlasmoidItem {
property int configuredSeparatorGapTrack: plasmoid.configuration.separatorGapTrack
// qmllint disable missing-property
property int configuredSeparatorHeight: plasmoid.configuration.separatorHeight
// qmllint disable missing-property
property bool configuredHideSeparator: plasmoid.configuration.hideSeparator
readonly property int resolvedBackgroundHints: {
if (configuredBackgroundStyle === "default")
return PlasmaCore.Types.DefaultBackground | PlasmaCore.Types.ConfigurableBackground;
@@ -100,6 +102,7 @@ PlasmoidItem {
configuredSeparatorGapLabel: root.configuredSeparatorGapLabel
configuredSeparatorGapTrack: root.configuredSeparatorGapTrack
configuredSeparatorHeight: root.configuredSeparatorHeight
configuredHideSeparator: root.configuredHideSeparator
}
compactRepresentation: Representation {
@@ -129,6 +132,7 @@ PlasmoidItem {
configuredSeparatorGapLabel: root.configuredSeparatorGapLabel
configuredSeparatorGapTrack: root.configuredSeparatorGapTrack
configuredSeparatorHeight: root.configuredSeparatorHeight
configuredHideSeparator: root.configuredHideSeparator
}
}