waffles: start: limit clipboard results to prevent lag, adjust btn

This commit is contained in:
end-4
2025-12-20 11:45:10 +01:00
parent ed6a0204b4
commit e499f4f8f1
2 changed files with 20 additions and 4 deletions
@@ -44,7 +44,7 @@ WChoiceButton {
Layout.fillHeight: true
horizontalPadding: 10
verticalPadding: 11
implicitHeight: root.firstEntry ? 62 : 36
implicitHeight: Math.max(root.firstEntry ? 62 : 36, entryContentRow.implicitHeight + 8 * 2)
implicitWidth: entryContentRow.implicitWidth + leftPadding + rightPadding
topRightRadius: 0
bottomRightRadius: 0
@@ -54,6 +54,7 @@ WChoiceButton {
id: entryContentRow
anchors {
left: parent.left
right: parent.right
verticalCenter: parent.verticalCenter
}
spacing: 8
@@ -102,6 +103,7 @@ WChoiceButton {
text: root.entry.name
font.pixelSize: Looks.font.pixelSize.large
maximumLineCount: 2
elide: Text.ElideRight
}
WText {
@@ -109,6 +111,7 @@ WChoiceButton {
visible: root.firstEntry
text: root.entry.type
color: Looks.colors.accentUnfocused
elide: Text.ElideRight
}
}