lsfg-vk/lsfg-vk-ui/rsc/panes/GroupEntry.qml
PancakeTAS 6d2ed649c9
Some checks are pending
(CI) lsfg-vk / build (push) Waiting to run
(CI/Flatpak) lsfg-vk / flatpak-extensions (23.08) (push) Waiting to run
(CI/Flatpak) lsfg-vk / flatpak-extensions (24.08) (push) Waiting to run
(CI/Flatpak) lsfg-vk / flatpak-extensions (25.08) (push) Waiting to run
(CI/Flatpak) lsfg-vk / flatpak-ui (push) Waiting to run
fix: ui: let the layout decide group height
for some reason one the Steam Deck pixels don't quite mean pixels
2025-12-25 06:23:47 +01:00

50 lines
909 B
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
RowLayout {
property string title
property string description
default property alias content: inner.children
id: root
spacing: 12
ColumnLayout {
clip: true
ColumnLayout {
Layout.fillWidth: true
Layout.fillHeight: true
spacing: 0
Label {
text: root.title
font.bold: true
}
Label {
text: root.description
color: Qt.rgba(
palette.text.r,
palette.text.g,
palette.text.b,
0.7
)
}
}
}
RowLayout {
Item {
Layout.fillWidth: true
}
ColumnLayout {
spacing: 0
id: inner
}
}
}