Merge pull request #2307

f20ab12 QML: fix various warnings (selsta)
This commit is contained in:
luigi1111
2019-07-22 13:29:31 -05:00
9 changed files with 14 additions and 35 deletions

View File

@@ -177,7 +177,7 @@ Rectangle {
ListView {
id: subaddressAccountListView
Layout.fillWidth: true
anchors.fill: parent
Layout.fillHeight: true
clip: true
boundsBehavior: ListView.StopAtBounds
interactive: false

View File

@@ -251,7 +251,6 @@ Rectangle {
font.pixelSize: 15
text: qsTr("Blockheight") + translationManager.emptyString
color: root.sortBy === "blockheight" ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor
anchors.verticalCenter: parent.verticalCenter
themeTransition: false
}
@@ -312,7 +311,6 @@ Rectangle {
text: qsTr("Date") + translationManager.emptyString
color: root.sortBy === "timestamp" ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor
themeTransition: false
anchors.verticalCenter: parent.verticalCenter
}
MoneroEffects.ImageMask {
@@ -372,7 +370,6 @@ Rectangle {
text: qsTr("Amount") + translationManager.emptyString
color: root.sortBy === "amount" ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor
themeTransition: false
anchors.verticalCenter: parent.verticalCenter
}
MoneroEffects.ImageMask {

View File

@@ -101,7 +101,7 @@ Rectangle {
ListView {
id: subaddressListView
Layout.fillWidth: true
anchors.fill: parent
Layout.fillHeight: true
clip: true
boundsBehavior: ListView.StopAtBounds
interactive: false

View File

@@ -93,9 +93,8 @@ Item {
anchors.right: parent.right
Item {
height: 220
anchors.left: parent.left
anchors.right: parent.right
Layout.preferredHeight: 220
Layout.fillWidth: true
Rectangle {
id: tracker
@@ -258,8 +257,7 @@ Item {
Item {
Layout.preferredHeight: 40
anchors.left: parent.left
anchors.right: parent.right
Layout.fillWidth: true
Item {
width: (parent.width - qrImg.width) - (50)
@@ -524,8 +522,7 @@ Item {
Item {
Layout.topMargin: 32
Layout.preferredHeight: 40
anchors.left: parent.left
anchors.right: parent.right
Layout.fillWidth: true
ColumnLayout {
spacing: 16