[PATCH] make context drawer smaller

Dirk Hohndel dirk at hohndel.org
Sun Feb 14 05:37:19 UTC 2016


This is an odd one. Not sure what the logic was behind that, but with the
existing code on most phones the context drawer takes up the complete
screen which makes it look really weird.

/D


>From 59779ccf31f7a1f48a45401655aeb7eaa98cc4fe Mon Sep 17 00:00:00 2001
From: Dirk Hohndel <dirk at hohndel.org>
Date: Fri, 12 Feb 2016 12:07:41 -0800
Subject: [PATCH 2/3] Make context drawer two thirds as wide

Signed-off-by: Dirk Hohndel <dirk at hohndel.org>
---
 components/mobilecomponents/qml/ContextDrawer.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/mobilecomponents/qml/ContextDrawer.qml b/components/mobilecomponents/qml/ContextDrawer.qml
index 08839972195c..21db7c934c2b 100644
--- a/components/mobilecomponents/qml/ContextDrawer.qml
+++ b/components/mobilecomponents/qml/ContextDrawer.qml
@@ -33,7 +33,7 @@ OverlayDrawer {
     edge: Qt.RightEdge
 
     contentItem: QtControls.ScrollView {
-        implicitWidth: Units.gridUnit * 20
+        implicitWidth: Units.gridUnit * 13
         ListView {
             id: menu
             interactive: contentHeight > height
-- 
2.7.0


More information about the Plasma-devel mailing list