[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [muon] discover/qml: Improve Grid resize behaviour
From: Aleix Pol <aleixpol () kde ! org>
Date: 2012-04-26 16:18:56
Message-ID: 20120426161856.010B7A60A9 () git ! kde ! org
[Download RAW message or body]
Git commit 8bf1b7f9137260e504e8e5cb8d38c1d87d638f93 by Aleix Pol.
Committed on 26/04/2012 at 18:18.
Pushed by apol into branch 'master'.
Improve Grid resize behaviour
Increment exponentially the margins of the grid.
M +1 -1 discover/qml/ApplicationsGrid.qml
http://commits.kde.org/muon/8bf1b7f9137260e504e8e5cb8d38c1d87d638f93
diff --git a/discover/qml/ApplicationsGrid.qml b/discover/qml/ApplicationsG=
rid.qml
index 59c0b77..d46c2e5 100644
--- a/discover/qml/ApplicationsGrid.qml
+++ b/discover/qml/ApplicationsGrid.qml
@@ -29,7 +29,7 @@ Item {
{
id: view
width: Math.floor(actualWidth/cellWidth)*(cellWidth+spacing)
- property real actualWidth: parent.width-2*parent.width/12
+ property real actualWidth: parent.width-Math.pow(parent.width/=
70, 2)
spacing: 5
anchors {
top: headerLoader.bottom
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic