forked from Shinonome/dots-hyprland
overview: fewer Layouts
This commit is contained in:
@@ -63,7 +63,7 @@ Item {
|
|||||||
border.width: 1
|
border.width: 1
|
||||||
border.color: Appearance.colors.colLayer0Border
|
border.color: Appearance.colors.colLayer0Border
|
||||||
|
|
||||||
ColumnLayout { // Workspaces
|
Column { // Workspaces
|
||||||
id: workspaceColumnLayout
|
id: workspaceColumnLayout
|
||||||
|
|
||||||
z: root.workspaceZ
|
z: root.workspaceZ
|
||||||
@@ -71,7 +71,7 @@ Item {
|
|||||||
spacing: workspaceSpacing
|
spacing: workspaceSpacing
|
||||||
Repeater {
|
Repeater {
|
||||||
model: Config.options.overview.rows
|
model: Config.options.overview.rows
|
||||||
delegate: RowLayout {
|
delegate: Row {
|
||||||
id: row
|
id: row
|
||||||
property int rowIndex: index
|
property int rowIndex: index
|
||||||
spacing: workspaceSpacing
|
spacing: workspaceSpacing
|
||||||
|
|||||||
@@ -81,14 +81,9 @@ Item { // Window
|
|||||||
border.width : 1
|
border.width : 1
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.right: parent.right
|
|
||||||
spacing: Appearance.font.pixelSize.smaller * 0.5
|
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: windowIcon
|
id: windowIcon
|
||||||
|
anchors.centerIn: parent
|
||||||
property var iconSize: {
|
property var iconSize: {
|
||||||
// console.log("-=-=-", root.toplevel.title, "-=-=-")
|
// console.log("-=-=-", root.toplevel.title, "-=-=-")
|
||||||
// console.log("Target window size:", targetWindowWidth, targetWindowHeight)
|
// console.log("Target window size:", targetWindowWidth, targetWindowHeight)
|
||||||
@@ -112,5 +107,4 @@ Item { // Window
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user