mirror of
https://github.com/kbumsik/VirtScreen.git
synced 2025-02-15 04:41:50 +00:00
Fixed layout bug in QML
This commit is contained in:
parent
a40ea8ec29
commit
5fabf6a773
3 changed files with 27 additions and 28 deletions
2
package/appimage/.gitignore
vendored
Normal file
2
package/appimage/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
VirtScreen-x86_64.AppImage
|
||||||
|
virtscreen.AppDir
|
|
@ -64,7 +64,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
ToolButton {
|
ToolButton {
|
||||||
id: menuButton
|
id: menuButton
|
||||||
anchors.right: parent.right
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("⋮")
|
text: qsTr("⋮")
|
||||||
contentItem: Text {
|
contentItem: Text {
|
||||||
text: parent.text
|
text: parent.text
|
||||||
|
@ -154,13 +154,13 @@ ApplicationWindow {
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
Text {
|
Text {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
font { weight: Font.Bold; pixelSize: 20 }
|
font { weight: Font.Bold; pixelSize: 20 }
|
||||||
text: "VirtScreen" + " v" + settings.version
|
text: "VirtScreen" + " v" + settings.version
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
font { pixelSize: 13 }
|
font { pixelSize: 13 }
|
||||||
text: "Make your iPad/tablet/computer<br/>as a secondary monitor.<br/>"
|
text: "Make your iPad/tablet/computer<br/>as a secondary monitor.<br/>"
|
||||||
|
@ -177,7 +177,7 @@ ApplicationWindow {
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
font { pixelSize: 14 }
|
font { pixelSize: 14 }
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
lineHeight: 0.7
|
lineHeight: 0.7
|
||||||
text: "<br/>Copyright © 2018 Bumsik Kim <a href='https://kbumsik.io/'>Homepage</a><br/>"
|
text: "<br/>Copyright © 2018 Bumsik Kim <a href='https://kbumsik.io/'>Homepage</a><br/>"
|
||||||
|
@ -185,7 +185,7 @@ ApplicationWindow {
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
font { pixelSize: 11 }
|
font { pixelSize: 11 }
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: "This program comes with absolutely no warranty.<br/>" +
|
text: "This program comes with absolutely no warranty.<br/>" +
|
||||||
"See the <a href='https://github.com/kbumsik/VirtScreen/blob/master/LICENSE'>" +
|
"See the <a href='https://github.com/kbumsik/VirtScreen/blob/master/LICENSE'>" +
|
||||||
|
@ -240,7 +240,8 @@ ApplicationWindow {
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
ScrollView {
|
ScrollView {
|
||||||
anchors.fill: parent
|
Layout.fillHeight: true
|
||||||
|
Layout.fillWidth: true
|
||||||
TextArea {
|
TextArea {
|
||||||
// readOnly: true
|
// readOnly: true
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
|
|
|
@ -33,8 +33,6 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RowLayout {
|
RowLayout {
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.right: parent.right
|
|
||||||
Label { text: "Password"; Layout.fillWidth: true }
|
Label { text: "Password"; Layout.fillWidth: true }
|
||||||
Button {
|
Button {
|
||||||
text: "Delete"
|
text: "Delete"
|
||||||
|
@ -90,9 +88,8 @@ ColumnLayout {
|
||||||
GroupBox {
|
GroupBox {
|
||||||
title: "Available IP addresses"
|
title: "Available IP addresses"
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: true
|
||||||
implicitHeight: 145
|
implicitHeight: 145
|
||||||
ColumnLayout {
|
|
||||||
anchors.fill: parent
|
|
||||||
ListView {
|
ListView {
|
||||||
id: ipListView
|
id: ipListView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
@ -114,7 +111,6 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
// Empty layout
|
// Empty layout
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
Loading…
Reference in a new issue