1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-16 05:57:36 +03:00

move tasks layout to dedicated folder

This commit is contained in:
Michail Vourlakos 2019-04-21 11:17:00 +03:00
parent 6710be3ae5
commit 706dee5b74
5 changed files with 6 additions and 5 deletions

View File

@ -28,7 +28,7 @@ import org.kde.taskmanager 0.1 as TaskManager
import org.kde.latte 0.2 as Latte
import "../code/tools.js" as TaskTools
import "../../code/tools.js" as TaskTools
Item {
// signal urlDropped(url url)

View File

@ -33,6 +33,7 @@ import org.kde.activities 0.1 as Activities
import org.kde.latte 0.2 as Latte
import "listlayout" as ListLayout
import "task" as Task
import "../code/tools.js" as TaskTools
import "../code/activitiesTools.js" as ActivitiesTools
@ -1145,7 +1146,7 @@ Item {
}
MouseHandler {
ListLayout.MouseHandler {
id: mouseHandler
anchors.bottom: (root.position === PlasmaCore.Types.BottomPositioned) ? scrollableList.bottom : undefined
anchors.top: (root.position === PlasmaCore.Types.TopPositioned) ? scrollableList.top : undefined
@ -1205,7 +1206,7 @@ Item {
}
}
ScrollableList {
ListLayout.ScrollableList {
id: scrollableList
width: !root.vertical ? Math.min(root.width, icList.width) : thickness
height: root.vertical ? Math.min(root.height, icList.height) : thickness
@ -1267,7 +1268,7 @@ Item {
layer.enabled: contentsExceed && root.scrollingEnabled
layer.effect: OpacityMask {
maskSource: ScrollOpacityMask{
maskSource: ListLayout.ScrollOpacityMask{
width: scrollableList.width + root.lengthMargins
height: scrollableList.height
}
@ -1353,7 +1354,7 @@ Item {
}
} // ScrollableList
ScrollEdgeShadows {
ListLayout.ScrollEdgeShadows {
id: scrollShadows
width: !root.vertical ? scrollableList.width : thickness
height: !root.vertical ? thickness : scrollableList.height