style(ui): minor styling adjustments for AboutDialog and OverlapMapCard
CI / preflight (push) Waiting to run

This commit is contained in:
jack
2026-07-13 13:41:13 -07:00
parent 5060df1527
commit 8707d467f5
5 changed files with 203 additions and 78 deletions
+21 -5
View File
@@ -3,6 +3,7 @@ import QtQuick.Controls
import QtQuick.Dialogs
import QtQuick.Layouts
import ISC
import ISC.Tabs.components
Popup {
id: root
@@ -133,13 +134,28 @@ Popup {
Label { text: modelData.mfgDate; font.pixelSize: Theme.fontMd; color: Theme.bodyColor; Layout.preferredWidth: 120 }
Label { text: modelData.level; font.pixelSize: Theme.fontMd; color: Theme.bodyColor; Layout.preferredWidth: 80 }
Label { text: modelData.licDate; font.pixelSize: Theme.fontMd; color: Theme.bodyColor; Layout.fillWidth: true }
ToolButton {
Button {
id: removeLicenseBtn
Layout.preferredWidth: 28
text: "✕"
font.pixelSize: Theme.fontSm
ToolTip.visible: hovered
ToolTip.text: "Remove license"
implicitHeight: 28
hoverEnabled: true
background: Rectangle {
color: removeLicenseBtn.pressed ? Theme.buttonPressed : removeLicenseBtn.hovered ? Theme.buttonNeutralHover : "transparent"
radius: Theme.radiusSm
}
contentItem: Text {
text: "✕"
font.pixelSize: Theme.fontSm
color: Theme.bodyColor
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
onClicked: licenseModel.removeLicense(modelData.serial, modelData.level)
AppToolTip {
visible: removeLicenseBtn.hovered
text: "Remove license"
}
}
}
}