Added linux build and some UI minor fixes

This commit is contained in:
Yury Shuvakin
2025-07-03 21:13:16 +09:00
parent 6cf2010c08
commit 978f6ee04d
9 changed files with 44 additions and 35 deletions

View File

@@ -131,17 +131,11 @@ Rectangle {
delegate: CustomControls.ColoredLabel {
text: modelData.description
backgroundColor: Palette.neutralColor
font.pixelSize: 11
onWidthChanged: {
if (width > statusView.contentWidth) {
statusView.contentWidth = width
}
}
font.pixelSize: 12
width: parent.width
}
ScrollBar.vertical: ScrollBar {}
ScrollBar.horizontal: ScrollBar {}
Layout.fillWidth: true
Layout.fillHeight: true

View File

@@ -13,8 +13,8 @@ Controls.TextField {
horizontalAlignment: Text.AlignRight
verticalAlignment: Text.AlignVCenter
topPadding: 6
bottomPadding: 6
topPadding: 4
bottomPadding: 4
leftPadding: 12
rightPadding: 12 + Math.ceil(indicatorLabel.width) + (indicatorLabel.visible ? 12 : 0)

View File

@@ -12,6 +12,8 @@ ApplicationWindow {
width: 1280
height: 1024
visible: true
visibility: Qt.platform.os === "linux" ? "FullScreen" : "Windowed"
flags: Qt.platform.os === "linux" ? Qt.FramelessWindowHint | Qt.Window : Qt.Window
title: qsTr("Stand Battery View")
color: Palette.backgroundColor