ui changes

This commit is contained in:
lasan
2026-06-30 18:19:32 +05:30
parent acaddae5ea
commit c61c59dbb8
6 changed files with 169 additions and 90 deletions
+7 -1
View File
@@ -8,8 +8,12 @@ Rectangle {
Layout.fillHeight: true
Layout.preferredWidth: 300
property string pendingPath: ""
color: "#CBF0FF"
signal cancelPendingShareRequested()
ColumnLayout {
anchors.margins: 20
anchors.fill: parent
@@ -65,6 +69,7 @@ Rectangle {
}
Rectangle {
visible: pendingPath.length != 0
Layout.preferredHeight: 350
Layout.fillWidth: true
border.color: "#91C8DE"
@@ -98,13 +103,14 @@ Rectangle {
Layout.fillWidth: true
color: "gray"
wrapMode: Text.WordWrap
text: "/home/lasan/test/this/is/a/very/long/file/path/file.pp"
text: decodeURIComponent(pendingPath).replace("file://", "")
horizontalAlignment: Text.AlignHCenter
}
Button {
id: cancelbutton
Layout.fillWidth: true
text: "Cancel"
onClicked: sidebar.cancelPendingShareRequested()
contentItem: Text {
text: cancelbutton.text
font.pointSize: 14