Commit dd64e93a authored by Elias Steurer's avatar Elias Steurer 🇩🇪

Fix UploadProject popup

parent daa76b8b
Pipeline #238151351 passed with stages
in 9 minutes and 39 seconds
......@@ -278,6 +278,37 @@ Item {
}
}
Row {
spacing: 20
anchors {
left: searchWrapper.right
leftMargin: 20
right: cbQuerySort.left
rightMargin: 20
verticalCenter: parent.verticalCenter
}
Button {
text: qsTr("Open Workshop in Steam")
font.capitalization: Font.Capitalize
font.family: ScreenPlay.settings.font
onClicked: Qt.openUrlExternally(
"steam://url/SteamWorkshopPage/672870")
icon.source: "qrc:/assets/icons/icon_steam.svg"
icon.width: 18
icon.height: 18
}
Button {
text: qsTr("Open GameHub in Steam")
font.capitalization: Font.Capitalize
font.family: ScreenPlay.settings.font
onClicked: Qt.openUrlExternally(
"steam://url/GameHub/672870")
icon.source: "qrc:/assets/icons/icon_steam.svg"
icon.width: 18
icon.height: 18
}
}
ComboBox {
id: cbQuerySort
width: 250
......
......@@ -8,10 +8,11 @@ import ScreenPlay 1.0
Popup {
id: root
width: 1100
height: 600
width: 1200
height: 700
modal: true
dim: true
anchors.centerIn: Overlay.overlay
closePolicy: Popup.NoAutoClose
onAboutToShow: uploadLoader.sourceComponent = com
onAboutToHide: uploadLoader.sourceComponent = undefined
......@@ -123,7 +124,7 @@ Popup {
}
}
Button {
id:btnAbort
id: btnAbort
text: qsTr("Abort")
onClicked: {
SP.Workshop.steamWorkshop.uploadListModel.clear()
......@@ -139,7 +140,7 @@ Popup {
Button {
id: btnUploadProjects
text: qsTr("Upload Projects")
text: qsTr("Upload Selected Projects")
highlighted: true
enabled: false
anchors {
......@@ -219,8 +220,6 @@ Popup {
}
}
}
}
PageIndicator {
......
......@@ -128,13 +128,6 @@ Item {
}
}
Rectangle {
id: rctInvalid
anchors.fill: parent
color: screenPlayItemWrapper.color
opacity: 0
visible: false
}
Text {
id: txtInvalidError
......@@ -193,11 +186,6 @@ Item {
opacity: 1
}
PropertyChanges {
target: rctInvalid
opacity: .8
visible: true
}
}
]
transitions: [
......
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