fix sip login page content layout
This commit is contained in:
parent
22724d8cd2
commit
62a9d34e09
1 changed files with 147 additions and 150 deletions
|
|
@ -57,29 +57,22 @@ LoginLayout {
|
||||||
centerContent: ColumnLayout {
|
centerContent: ColumnLayout {
|
||||||
signal useSIPButtonClicked()
|
signal useSIPButtonClicked()
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
||||||
ColumnLayout {
|
|
||||||
Layout.preferredWidth: 330
|
|
||||||
Layout.maximumWidth: 340
|
|
||||||
Control.StackView {
|
Control.StackView {
|
||||||
id: rootStackView
|
id: rootStackView
|
||||||
initialItem: firstItem
|
initialItem: firstItem
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: 280
|
||||||
Layout.preferredHeight: parent.height
|
Layout.fillHeight: true
|
||||||
|
Layout.alignment: Qt.AlignTop
|
||||||
|
}
|
||||||
Component {
|
Component {
|
||||||
id: firstItem
|
id: firstItem
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Layout.alignment: Qt.AlignTop
|
|
||||||
Layout.fillHeight: true
|
|
||||||
Layout.maximumWidth: rootStackView.width
|
|
||||||
clip: true
|
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
Layout.bottomMargin: 60
|
||||||
Text {
|
Text {
|
||||||
|
Layout.fillWidth: true
|
||||||
Layout.preferredWidth: rootStackView.width
|
Layout.preferredWidth: rootStackView.width
|
||||||
width: rootStackView.width
|
width: rootStackView.width
|
||||||
|
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
color: DefaultStyle.darkGrayColor
|
color: DefaultStyle.darkGrayColor
|
||||||
font.pointSize: DefaultStyle.defaultTextSize
|
font.pointSize: DefaultStyle.defaultTextSize
|
||||||
|
|
@ -91,12 +84,15 @@ LoginLayout {
|
||||||
text: "linphone.org/contact"
|
text: "linphone.org/contact"
|
||||||
textSize: 8
|
textSize: 8
|
||||||
inversedColors: true
|
inversedColors: true
|
||||||
|
leftPadding: 8
|
||||||
|
rightPadding: 8
|
||||||
|
topPadding: 5
|
||||||
|
bottomPadding: 5
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Qt.openUrlExternally(ConstantsCpp.ContactUrl)
|
Qt.openUrlExternally(ConstantsCpp.ContactUrl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
spacing: 10
|
spacing: 10
|
||||||
Layout.bottomMargin: 20
|
Layout.bottomMargin: 20
|
||||||
|
|
@ -117,6 +113,9 @@ LoginLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Item {
|
||||||
|
Layout.fillHeight: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Component {
|
Component {
|
||||||
|
|
@ -210,8 +209,7 @@ LoginLayout {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Item {
|
Item {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
@ -229,4 +227,3 @@ LoginLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue