Added linux build and some UI minor fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user