This screenshot comlitely illustrated my problem:
Why such a gradient background?
Qt 5.2.1 -Debug MSVC 2012 ×32 – Windows 7 ×64
Code:
import QtQuick 2.0
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.1
ApplicationWindow{
id: root
width:640
height: 480
visible: true
title: "translate helper"
ProgressBar {
id: progress
height: 10
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.bottomMargin: 2
}
ColumnLayout {
id: leftLayout
width: parent.width/2
anchors.bottom: progress.top
anchors.bottomMargin: 5
anchors.top: parent.top
anchors.topMargin: 5
anchors.left: parent.left
anchors.leftMargin: 5
Text { text: "Three" }
Text { text: "words" }
Text { text: "in" }
Text { text: "a" }
Text { text: "row" }
}
ColumnLayout {
id: rigthLayout
anchors.left: leftLayout.right
anchors.leftMargin: 5
anchors.right: parent.right
anchors.rightMargin: 5
anchors.bottom: progress.top
anchors.bottomMargin: 5
anchors.top: parent.top
anchors.topMargin: 5
Text { text: "Three" }
Text { text: "words" }
Text { text: "in" }
Text { text: "a" }
Text { text: "row" }
}
}
↧