improve tasks config page appearance

pull/1/head
Michail Vourlakos 8 years ago
parent 6699b70aa5
commit 259fda4661

@ -1,4 +1,4 @@
import QtQuick 2.0 import QtQuick 2.7
import QtQuick.Controls 1.4 import QtQuick.Controls 1.4
import QtQuick.Layouts 1.3 import QtQuick.Layouts 1.3
import QtGraphicalEffects 1.0 import QtGraphicalEffects 1.0
@ -26,10 +26,16 @@ PlasmaComponents.Page{
text: i18n("Appearance") text: i18n("Appearance")
} }
Column{
leftPadding: 2*theme.defaultFont.pixelSize
spacing: 0.4*theme.defaultFont.pixelSize
PlasmaComponents.CheckBox { PlasmaComponents.CheckBox {
id: showGlow id: showGlow
text: i18n("Show glow around windows points") text: i18n("Show glow around windows points")
onCheckedChanged: { onCheckedChanged: {
plasmoid.configuration.showGlow = checked; plasmoid.configuration.showGlow = checked;
} }
@ -70,6 +76,7 @@ PlasmaComponents.Page{
Component.onCompleted: checked = plasmoid.configuration.reverseLinesPosition; Component.onCompleted: checked = plasmoid.configuration.reverseLinesPosition;
} }
} }
}
/*********Behavior************/ /*********Behavior************/
Column{ Column{
@ -80,6 +87,10 @@ PlasmaComponents.Page{
text: i18n("Interaction") text: i18n("Interaction")
} }
Column{
leftPadding: 2*theme.defaultFont.pixelSize
spacing: 0.4*theme.defaultFont.pixelSize
PlasmaComponents.CheckBox { PlasmaComponents.CheckBox {
id: showPreviewsChk id: showPreviewsChk
text: i18n("Preview windows on hovering") text: i18n("Preview windows on hovering")
@ -124,6 +135,7 @@ PlasmaComponents.Page{
Component.onCompleted: checked = plasmoid.configuration.smartLaunchersEnabled; Component.onCompleted: checked = plasmoid.configuration.smartLaunchersEnabled;
} }
} }
}
/*******Filters*******/ /*******Filters*******/
Column{ Column{
@ -134,6 +146,10 @@ PlasmaComponents.Page{
text: i18n("Filters") text: i18n("Filters")
} }
Column{
leftPadding: 2*theme.defaultFont.pixelSize
spacing: 0.4*theme.defaultFont.pixelSize
PlasmaComponents.CheckBox { PlasmaComponents.CheckBox {
id: showOnlyCurrentScreen id: showOnlyCurrentScreen
text: i18n("Show only tasks from the current screen") text: i18n("Show only tasks from the current screen")
@ -165,5 +181,7 @@ PlasmaComponents.Page{
} }
} }
}
} }
} }

Loading…
Cancel
Save