fix #LINQT-1183

This commit is contained in:
Gaelle Braud 2024-05-30 12:00:35 +02:00
parent 98176c6fae
commit 8f48336d64
2 changed files with 5 additions and 7 deletions

View file

@ -119,9 +119,10 @@ ColumnLayout {
// connection status // connection status
} }
} }
Item { RowLayout {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
Layout.preferredWidth: mainItem.implicitWidth spacing: 72 * DefaultStyle.dp
Layout.fillWidth: true
Layout.preferredHeight: childrenRect.height Layout.preferredHeight: childrenRect.height
Button { Button {
visible: mainItem.isConference visible: mainItem.isConference
@ -140,7 +141,6 @@ ColumnLayout {
} }
LabelButton { LabelButton {
visible: !mainItem.isConference visible: !mainItem.isConference
anchors.left: parent.left
width: 56 * DefaultStyle.dp width: 56 * DefaultStyle.dp
height: 56 * DefaultStyle.dp height: 56 * DefaultStyle.dp
button.icon.width: 24 * DefaultStyle.dp button.icon.width: 24 * DefaultStyle.dp
@ -153,7 +153,6 @@ ColumnLayout {
} }
LabelButton { LabelButton {
visible: !mainItem.isConference visible: !mainItem.isConference
anchors.horizontalCenter: parent.horizontalCenter
width: 56 * DefaultStyle.dp width: 56 * DefaultStyle.dp
height: 56 * DefaultStyle.dp height: 56 * DefaultStyle.dp
button.icon.width: 24 * DefaultStyle.dp button.icon.width: 24 * DefaultStyle.dp
@ -164,7 +163,6 @@ ColumnLayout {
} }
LabelButton { LabelButton {
visible: !mainItem.isConference visible: !mainItem.isConference
anchors.right: parent.right
width: 56 * DefaultStyle.dp width: 56 * DefaultStyle.dp
height: 56 * DefaultStyle.dp height: 56 * DefaultStyle.dp
button.icon.width: 24 * DefaultStyle.dp button.icon.width: 24 * DefaultStyle.dp

View file

@ -388,8 +388,8 @@ AbstractMainPage {
RoundedBackgroundControl { RoundedBackgroundControl {
visible: companyText.text.length != 0 || jobText.text.length != 0 visible: companyText.text.length != 0 || jobText.text.length != 0
Layout.fillWidth: true Layout.fillWidth: true
topPadding: 12 * DefaultStyle.dp topPadding: 17 * DefaultStyle.dp
bottomPadding: 12 * DefaultStyle.dp bottomPadding: 17 * DefaultStyle.dp
leftPadding: 20 * DefaultStyle.dp leftPadding: 20 * DefaultStyle.dp
rightPadding: 20 * DefaultStyle.dp rightPadding: 20 * DefaultStyle.dp
// Layout.fillHeight: true // Layout.fillHeight: true