[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kalgebra] mobile/plugins: Improve layouting
From: Aleix Pol <aleixpol () kde ! org>
Date: 2015-11-01 0:20:03
Message-ID: E1ZsgNP-0001tX-IE () scm ! kde ! org
[Download RAW message or body]
Git commit 4bafcef529c5801a7e0a0244b2652e7ac2a71551 by Aleix Pol.
Committed on 01/11/2015 at 00:15.
Pushed by apol into branch 'master'.
Improve layouting
M +5 -2 mobile/plugins/Console.qml
M +8 -4 mobile/plugins/Plot2D.qml
http://commits.kde.org/kalgebra/4bafcef529c5801a7e0a0244b2652e7ac2a71551
diff --git a/mobile/plugins/Console.qml b/mobile/plugins/Console.qml
index c3b547f..2ba7584 100644
--- a/mobile/plugins/Console.qml
+++ b/mobile/plugins/Console.qml
@@ -29,8 +29,11 @@ KAlgebraPage
view.currentIndex = 0
}
- width: parent.width
- anchors.top: parent.top
+ anchors {
+ top: parent.top
+ left: parent.left
+ right: parent.right
+ }
}
SimpleListView {
diff --git a/mobile/plugins/Plot2D.qml b/mobile/plugins/Plot2D.qml
index 2fbc41a..e60ad80 100644
--- a/mobile/plugins/Plot2D.qml
+++ b/mobile/plugins/Plot2D.qml
@@ -11,7 +11,12 @@ KAlgebraPage
id: controls
spacing: 10
- width: parent.width
+ anchors {
+ left: parent.left
+ top: parent.top
+ right: parent.right
+ }
+
ExpressionInput {
id: input
Layout.fillWidth: true
@@ -36,17 +41,16 @@ KAlgebraPage
}
}
}
-
+
Rectangle {
- width: parent.width
anchors {
fill: parent
topMargin: controls.height
}
height: 200
color: 'white'
-
+
Graph2D {
id: view
anchors.fill: parent
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic