fix(NetworkFilter): position the popup along the right edge

spotted by Ben
This commit is contained in:
Lukáš Tinkl 2024-04-10 18:28:12 +02:00 committed by Lukáš Tinkl
parent 9024a4c324
commit 6171a2d900
1 changed files with 3 additions and 1 deletions

View File

@ -65,6 +65,8 @@ StatusComboBox {
control.spacing: 0 control.spacing: 0
control.rightPadding: 36 control.rightPadding: 36
control.topPadding: 7 control.topPadding: 7
control.popup.x: root.width - control.popup.width
control.popup.width: 430 control.popup.width: 430
size: StatusComboBox.Size.Small size: StatusComboBox.Size.Small
@ -79,7 +81,7 @@ StatusComboBox {
y: root.control.topPadding + (root.control.availableHeight - height) / 2 y: root.control.topPadding + (root.control.availableHeight - height) / 2
} }
contentItem: RowLayout { control.contentItem: RowLayout {
spacing: Style.current.padding spacing: Style.current.padding
StatusSmartIdenticon { StatusSmartIdenticon {
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter