Fix Verification Window Sizing

Update the layouts in the device verifcation process to make sure that all possible window sizes can be handled

BUG: 485309
This commit is contained in:
James Graham
2024-04-13 18:51:06 +00:00
parent 17d60b79ca
commit ef34ed7c20
6 changed files with 171 additions and 84 deletions

View File

@@ -2,22 +2,24 @@
// SPDX-License-Identifier: GPL-2.0-or-later
import QtQuick
import QtQml
import QtQuick.Layouts
import org.kde.kirigami as Kirigami
import org.kde.neochat
Row {
RowLayout {
id: root
property alias model: repeater.model
anchors.horizontalCenter: parent.horizontalCenter
spacing: Kirigami.Units.largeSpacing
Repeater {
id: repeater
delegate: EmojiItem {
emoji: modelData.emoji
description: modelData.description
width: root.height
height: width
}
}
}