Commit c32b5a85 authored by George Vogiatzis's avatar George Vogiatzis Committed by Nate Graham

[Applets/Task Manager] Fix and improve behavior tab layouts

Summary:
Fix the group layout.
Change rest of behavior tab layout.
Rename various labels and texts.

BUG: 415649
FIXED-IN: 5.19.0

Test Plan:
Before:
The indentation of option "Group only when the Task Manager is full"
is misleading.

Before:
{F7882775, layout=inline} {F7882776, layout=inline}

After:
{F7883513, layout=inline} {F7882780, layout=inline}

Reviewers: #vdg, #plasma, hein, ngraham

Reviewed By: #vdg, ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26660
parent efdf88ec
......@@ -56,23 +56,15 @@ Item {
CheckBox {
id: groupPopups
visible: (plasmoid.pluginName !== "org.kde.plasma.icontasks")
text: i18n("Open groups in popups")
text: i18n("Combine into single button")
enabled: groupingStrategy.currentIndex > 0
}
RowLayout {
CheckBox {
id: onlyGroupWhenFull
visible: (plasmoid.pluginName !== "org.kde.plasma.icontasks")
// Indent the option as it depends on the previous one
Item {
width: units.largeSpacing
}
CheckBox {
id: onlyGroupWhenFull
text: i18n("Group only when the Task Manager is full")
enabled: groupingStrategy.currentIndex > 0 && groupPopups.checked
}
text: i18n("Group only when the Task Manager is full")
enabled: groupingStrategy.currentIndex > 0 && groupPopups.checked
}
Item {
......@@ -116,9 +108,14 @@ Item {
]
}
Item {
Kirigami.FormData.isSection: true
}
CheckBox {
id: wheelEnabled
text: i18n("Cycle through tasks with mouse wheel")
Kirigami.FormData.label: i18n("Mouse wheel:")
text: i18n("Cycle through tasks")
}
Item {
......@@ -127,23 +124,23 @@ Item {
CheckBox {
id: showOnlyCurrentScreen
Kirigami.FormData.label: i18n("Filter:")
text: i18n("Show only tasks from the current screen")
Kirigami.FormData.label: i18n("Show only tasks:")
text: i18n("From current screen")
}
CheckBox {
id: showOnlyCurrentDesktop
text: i18n("Show only tasks from the current desktop")
text: i18n("From current desktop")
}
CheckBox {
id: showOnlyCurrentActivity
text: i18n("Show only tasks from the current activity")
text: i18n("From current activity")
}
CheckBox {
id: showOnlyMinimized
text: i18n("Show only tasks that are minimized")
text: i18n("That are minimized")
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment