diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2012-12-13 21:18:19 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-13 23:50:25 +0100 |
commit | 8ac4e62fe50b3f4d9abc8136a98babe4d306f686 (patch) | |
tree | d86e266531288f4dbbe1f58db1d73663d77fa9ea /examples/quick/demos/stocqt/content/StockSettings.qml | |
parent | 93c7cf2cbc650d1590037d86f8eba6d0be029159 (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.qml | 28 |
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" |