aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/stocqt/content/StockSettings.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2012-12-13 21:18:19 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-13 23:50:25 +0100
commit8ac4e62fe50b3f4d9abc8136a98babe4d306f686 (patch)
treed86e266531288f4dbbe1f58db1d73663d77fa9ea /examples/quick/demos/stocqt/content/StockSettings.qml
parent93c7cf2cbc650d1590037d86f8eba6d0be029159 (diff)
Improved cosmetics for StockQt
This will not get us any design awards but it looks a bit more professional than the original. Change-Id: Ib01a20ebad5888af44c174cbd493ce8d99dcf7b6 Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
Diffstat (limited to 'examples/quick/demos/stocqt/content/StockSettings.qml')
-rw-r--r--examples/quick/demos/stocqt/content/StockSettings.qml28
1 files changed, 16 insertions, 12 deletions
diff --git a/examples/quick/demos/stocqt/content/StockSettings.qml b/examples/quick/demos/stocqt/content/StockSettings.qml
index ec7c20ea51..60e6bef3d0 100644
--- a/examples/quick/demos/stocqt/content/StockSettings.qml
+++ b/examples/quick/demos/stocqt/content/StockSettings.qml
@@ -87,7 +87,7 @@ Rectangle {
anchors.left: parent.left
anchors.leftMargin: 30
anchors.top: startDateText.bottom
- anchors.topMargin: 15
+ anchors.topMargin: 8
date: new Date(1995, 3, 25)
}
@@ -107,7 +107,7 @@ Rectangle {
anchors.left: parent.left
anchors.leftMargin: 30
anchors.top: endDateText.bottom
- anchors.topMargin: 15
+ anchors.topMargin: 8
}
Text {
@@ -123,7 +123,7 @@ Rectangle {
Column {
id: drawOptions
anchors.top: drawOptionsText.bottom
- anchors.topMargin: 20
+ anchors.topMargin: 8
anchors.left: parent.left
anchors.leftMargin: 30
spacing: 2
@@ -133,27 +133,31 @@ Rectangle {
CheckBox {
id: highButton
- text: "High "
+ text: "High"
buttonEnabled: false
}
CheckBox {
id: lowButton
- text: "Low "
+ text: "Low"
buttonEnabled: false
}
+ }
+ Row {
+ spacing: 10
CheckBox {
id: openButton
- text: "Open "
+ text: "Open"
buttonEnabled: false
}
- }
- Row {
- spacing: 10
CheckBox {
- text: "Close "
+ text: "Close"
id: closeButton
buttonEnabled: true
}
+
+ }
+ Row {
+ spacing: 10
CheckBox {
id: volumeButton
text: "Volume"
@@ -181,8 +185,8 @@ Rectangle {
anchors.left: parent.left
anchors.leftMargin: 20
anchors.top: chartTypeText.bottom
- anchors.topMargin: 20
- spacing: 10
+ anchors.topMargin: 8
+ spacing: -1
Button {
id: yearView
text: "YEAR"