From f99b91bc72a180fb56cf9efbe8d488a0f40472a0 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 4 Jan 2021 16:35:16 -0500 Subject: [PATCH] chore: hide download location for now --- .../Profile/Sections/BrowserContainer.qml | 75 ++++++++----------- 1 file changed, 33 insertions(+), 42 deletions(-) diff --git a/ui/app/AppLayouts/Profile/Sections/BrowserContainer.qml b/ui/app/AppLayouts/Profile/Sections/BrowserContainer.qml index 83f6a65bcb..288cf210c8 100644 --- a/ui/app/AppLayouts/Profile/Sections/BrowserContainer.qml +++ b/ui/app/AppLayouts/Profile/Sections/BrowserContainer.qml @@ -92,53 +92,44 @@ Item { } } + // TODO redd this when we figure out how to set the download path for the browser +// Separator {} + +// StatusSectionHeadline { +// text: qsTr("Downloads") +// } - Separator {} +// Item { +// height: textItem.height +// width: parent.width - StatusSectionHeadline { - text: qsTr("Downloads") - } +// StyledText { +// id: textItem +// text: qsTr("Location") +// font.pixelSize: 15 +// } +// StyledText { +// id: valueText +// text: "path/to/downloads" +// font.pixelSize: 15 +// color: Style.current.secondaryText +// anchors.right: locationBtn.left +// anchors.rightMargin: Style.current.halfPadding +// anchors.verticalCenter: textItem.verticalCenter +// } - Item { - height: textItem.height - width: parent.width - - StyledText { - id: textItem - text: qsTr("Location") - font.pixelSize: 15 - } - - StyledText { - id: valueText - text: "path/to/downloads" - font.pixelSize: 15 - color: Style.current.secondaryText - anchors.right: locationBtn.left - anchors.rightMargin: Style.current.halfPadding - anchors.verticalCenter: textItem.verticalCenter - } - - StatusButton { - id: locationBtn - text: qsTr("Change") - anchors.right: parent.right - anchors.verticalCenter: textItem.verticalCenter - onClicked: { - console.log('change location') - } - } - } - - StatusSettingsLineButton { - text: qsTr("Location") - currentValue: "path/to/downloads" - onClicked: function () { - console.log('Change download') - } - } +// StatusButton { +// id: locationBtn +// text: qsTr("Change") +// anchors.right: parent.right +// anchors.verticalCenter: textItem.verticalCenter +// onClicked: { +// console.log('change location') +// } +// } +// } Separator {}