mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Bar/Battery: improved tooltip and handle negative charging rate
- Also slightly tweaked StyledTooltip minimum size to avoid inconsistencies (Tooltip with a single line looked like pills instead of rounded rectangles)
This commit is contained in:
@@ -16,8 +16,8 @@ Window {
|
||||
color: "transparent"
|
||||
visible: false
|
||||
|
||||
minimumWidth: tooltipText.implicitWidth + 24
|
||||
minimumHeight: tooltipText.implicitHeight + 16
|
||||
minimumWidth: Math.max(50, tooltipText.implicitWidth + 24)
|
||||
minimumHeight: Math.max(50, tooltipText.implicitHeight + 16)
|
||||
property var _timerObj: null
|
||||
|
||||
onTooltipVisibleChanged: {
|
||||
|
||||
Reference in New Issue
Block a user