utilbuttons

This commit is contained in:
end-4
2025-04-10 12:55:26 +02:00
parent 91cef5700a
commit 15990bf8d1
6 changed files with 106 additions and 18 deletions
+10 -15
View File
@@ -1,42 +1,37 @@
import "../common"
import "../common/widgets"
import QtQuick
import QtQuick.Layouts
Rectangle {
implicitWidth: 200
implicitWidth: rowLayout.implicitWidth + rowLayout.spacing * 6 // idk, text seems nicer w/ more padding
implicitHeight: 32
color: Appearance.colors.colLayer1
radius: Appearance.rounding.small
RowLayout {
id: rowLayout
spacing: 4
anchors.centerIn: parent
Text {
renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter
StyledText {
font.family: Appearance.font.family.title
font.pointSize: Appearance.font.pointSize.large
color: Appearance.colors.colOnLayer1
text: DateTime.time
color: Appearance.colors.colOnLayer1
}
Text {
renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter
font.family: Appearance.font.family.main
StyledText {
font.pointSize: Appearance.font.pointSize.small
color: Appearance.colors.colOnLayer1
text: "•"
color: Appearance.colors.colOnLayer1
}
Text {
renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter
font.family: Appearance.font.family.main
StyledText {
font.pointSize: Appearance.font.pointSize.small
text: DateTime.date
color: Appearance.colors.colOnLayer1
text: DateTime.date
}
}