File: 1021_qml-Fix-WorkspacePreview-positioning.patch

package info (click to toggle)
lomiri 0.5.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,088 kB
  • sloc: cpp: 39,498; python: 2,559; javascript: 1,426; ansic: 1,012; sh: 289; xml: 252; makefile: 69
file content (34 lines) | stat: -rw-r--r-- 1,173 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 4b5e87d5416d5794f267f51a9c4f1a029b9a2f9a Mon Sep 17 00:00:00 2001
From: Alfred Neumayer <dev.beidl@gmail.com>
Date: Fri, 1 Mar 2024 20:44:33 +0100
Subject: [PATCH 1/8] qml: Fix WorkspacePreview positioning

Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
---
 qml/Stage/Spread/Workspaces.qml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/qml/Stage/Spread/Workspaces.qml b/qml/Stage/Spread/Workspaces.qml
index 736119620..a628c8987 100644
--- a/qml/Stage/Spread/Workspaces.qml
+++ b/qml/Stage/Spread/Workspaces.qml
@@ -16,6 +16,7 @@
 
 import QtQuick 2.15
 import Lomiri.Components 1.3
+import GSettings 1.0
 import WindowManager 1.0
 import "MathUtils.js" as MathUtils
 import "../../Components"
@@ -277,7 +278,7 @@ Item {
                 WorkspacePreview {
                     id: workspacePreview
                     height: listView.height
-                    width: listView.itemWidth
+                    width: listView.itemWidth - settings.launcherWidth
                     screen: root.screen
                     background: root.background
                     screenHeight: listView.screenSpaceHeight
-- 
2.47.2