diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2016-11-25 20:58:27 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2016-11-25 21:00:18 +0100 |
| commit | eef11bf22a2cd40a9fd4288c48e62bd214cb8fef (patch) | |
| tree | 0508ee8a1bd48abc1b19dcc9926400c9303c0bdd | |
| parent | 3245d7d860ab050efc27638edabbb052b1c7d4fd (diff) | |
| download | monzero-gui-eef11bf22a2cd40a9fd4288c48e62bd214cb8fef.tar.gz monzero-gui-eef11bf22a2cd40a9fd4288c48e62bd214cb8fef.tar.xz monzero-gui-eef11bf22a2cd40a9fd4288c48e62bd214cb8fef.zip | |
remove qtquick 2.6 dependency
| -rw-r--r-- | components/DaemonProgress.qml | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/components/DaemonProgress.qml b/components/DaemonProgress.qml index dd6c24ac..5fac2079 100644 --- a/components/DaemonProgress.qml +++ b/components/DaemonProgress.qml @@ -26,7 +26,7 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -import QtQuick 2.6 +import QtQuick 2.0 Item { id: item @@ -42,7 +42,6 @@ Item { fillLevel = progressLevel console.log("target block: ",progressLevel) progressText.text = qsTr("Synchronizing blocks %1/%2").arg(currentBlock.toFixed(0)).arg(targetBlock.toFixed(0)); - console.log("Progress text: " + progressText.text); // TODO: lower daemon block height cache, ttl and refresh interval? @@ -57,7 +56,7 @@ Item { anchors.right: parent.right anchors.top: parent.top height: 22 - //radius: 4 + radius: 2 color: "#FFFFFF" Rectangle { @@ -77,16 +76,21 @@ Item { } - Text { - id:progressText + Rectangle { + color:"#333" anchors.bottom: parent.bottom - font.family: "Arial" - font.pixelSize: 12 - leftPadding: 8 - color: "#000" - height: 18 - verticalAlignment: Text.alignVCenter - text: qsTr("Synchronizing blocks") + anchors.left: parent.left + anchors.leftMargin: 8 + + Text { + id:progressText + anchors.bottom: parent.bottom + font.family: "Arial" + font.pixelSize: 12 + color: "#000" + text: qsTr("Synchronizing blocks") + height:18 + } } } |
