Commit 808a1327 authored by Martin Straka's avatar Martin Straka

Fixed some QML elemtents anchors

parent 756e040f
...@@ -128,10 +128,7 @@ Dialog { ...@@ -128,10 +128,7 @@ Dialog {
ColumnLayout { ColumnLayout {
id: folderNavigation id: folderNavigation
AccessibleComboBox { AccessibleComboBox {
anchors { Layout.fillWidth: true
left: parent.left;
right: parent.right;
}
accessibleDescription: qsTr("Select location type") accessibleDescription: qsTr("Select location type")
model: ListModel { model: ListModel {
ListElement { label: qsTr("Desktop"); key: "desktop" } ListElement { label: qsTr("Desktop"); key: "desktop" }
...@@ -155,10 +152,7 @@ Dialog { ...@@ -155,10 +152,7 @@ Dialog {
} }
} }
RowLayout { RowLayout {
anchors { Layout.fillWidth: true
left: parent.left;
right: parent.right;
}
spacing: formItemVerticalSpacing spacing: formItemVerticalSpacing
AccessibleButton { AccessibleButton {
id: upButton id: upButton
...@@ -226,20 +220,15 @@ Dialog { ...@@ -226,20 +220,15 @@ Dialog {
} }
width: fileList.width width: fileList.width
height: fileList.delegateHeight height: fileList.delegateHeight
RowLayout { Text {
anchors.fill: parent anchors.left: parent.left
Text { elide: Text.ElideRight
anchors.left: parent.left text: fileName
Layout.fillWidth: true }
elide: Text.ElideRight Text {
/* Add '>' to directory names. */ anchors.right: parent.right
text: fileName /* Add '>' to directory names. */
} text: fileIsDir ? " >" : ""
Text {
anchors.right: parent.right
/* Add '>' to directory names. */
text: fileIsDir ? " >" : ""
}
} }
MouseArea { MouseArea {
function accessibleDescriptionText() { function accessibleDescriptionText() {
......
...@@ -330,7 +330,8 @@ Item { ...@@ -330,7 +330,8 @@ Item {
Flickable { Flickable {
id: tabGeneral id: tabGeneral
z: 0 z: 0
anchors.fill: parent Layout.fillWidth: true
Layout.fillHeight: true
contentHeight: generalContent.implicitHeight contentHeight: generalContent.implicitHeight
Pane { Pane {
id: generalContent id: generalContent
...@@ -693,7 +694,8 @@ Item { ...@@ -693,7 +694,8 @@ Item {
Flickable { Flickable {
id: tabAdditional id: tabAdditional
z: 0 z: 0
anchors.fill: parent Layout.fillWidth: true
Layout.fillHeight: true
contentHeight: additonalsContent.implicitHeight contentHeight: additonalsContent.implicitHeight
Pane { Pane {
id: additonalsContent id: additonalsContent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment