From d7b4d98678957832235971ebca3e3ea9b2dfc207 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 2 Mar 2015 11:26:31 +0100 Subject: [PATCH] - Replace "Display Log" by an icon. --- mix/qml/StatusPane.qml | 47 ++++++++++++++++---------------- mix/qml/img/search_filled.png | Bin 0 -> 625 bytes mix/qml/js/TransactionHelper.js | 5 ++-- mix/res.qrc | 1 + 4 files changed, 28 insertions(+), 25 deletions(-) create mode 100644 mix/qml/img/search_filled.png diff --git a/mix/qml/StatusPane.qml b/mix/qml/StatusPane.qml index ff2173a22..414a051ec 100644 --- a/mix/qml/StatusPane.qml +++ b/mix/qml/StatusPane.qml @@ -75,7 +75,6 @@ Rectangle { height: 30 color: "#fcfbfc" - Text { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter @@ -116,27 +115,6 @@ Rectangle { } } - Button - { - anchors.verticalCenter: parent.verticalCenter - anchors.left: parent.right - anchors.leftMargin: 10 - width: 38 - height: 28 - visible: false - text: qsTr("Log") - objectName: "status" - id: logslink - action: displayLogAction - } - - Action { - id: displayLogAction - onTriggered: { - mainContent.displayCompilationErrorIfAny(); - } - } - Button { anchors.fill: parent @@ -157,6 +135,25 @@ Rectangle { } } + Button + { + id: logslink + anchors.left: statusContainer.right + anchors.leftMargin: 9 + visible: false + anchors.verticalCenter: parent.verticalCenter + action: displayLogAction + iconSource: "qrc:/qml/img/search_filled.png" + } + + Action { + id: displayLogAction + tooltip: qsTr("Display Log") + onTriggered: { + mainContent.displayCompilationErrorIfAny(); + } + } + Rectangle { color: "transparent" @@ -167,9 +164,13 @@ Rectangle { RowLayout { anchors.fill: parent - Rectangle { + anchors.top: statusHeader.top + anchors.right: statusHeader.right + Rectangle + { color: "transparent" anchors.fill: parent + Button { anchors.right: parent.right diff --git a/mix/qml/img/search_filled.png b/mix/qml/img/search_filled.png new file mode 100644 index 0000000000000000000000000000000000000000..c459e7cbddfec54248dcfeb1fc5c54289c95798f GIT binary patch literal 625 zcmV-%0*?KOP)?s#`6I|lk$QPz!rw5hS)Wq} zU3X_nY?;5omtItms6H;!XFKYalA`W(*5u56D6TwBMF+atEjATpJpwQWaI2&^a`m|) zEwd3X_43f!XKlljE8ETwsnw>=+kKqx(`M~rtIUC2CB;`ys&)(-$3vAgPY?M00000 LNkvXXu0mjfqsqml/WebPreviewStyle.qml qml/img/available_updates.png qml/DeploymentDialog.qml + qml/img/search_filled.png