Calendar: events tooltip use fixed font with improved time formating

This commit is contained in:
ItsLemmy
2025-11-11 06:54:13 -05:00
parent a6f25cc9d5
commit 9bccf4ff56
3 changed files with 19 additions and 15 deletions
+4 -1
View File
@@ -108,7 +108,7 @@ PopupWindow {
}
// Function to show tooltip
function show(screen, target, tipText, customDirection, showDelay) {
function show(screen, target, tipText, customDirection, showDelay, fontFamily) {
if (!screen || !target || !tipText || tipText === "")
return
@@ -139,6 +139,8 @@ PopupWindow {
direction = "auto"
}
tooltipText.family = fontFamily ? fontFamily : Settings.data.ui.fontDefault
// Start show timer
showTimer.start()
}
@@ -404,6 +406,7 @@ PopupWindow {
anchors.margins: root.padding
text: root.text
pointSize: Style.fontSizeS
family: Settings.data.ui.fontFixed
color: Color.mOnSurfaceVariant
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter