Taskbar improvements

- Fix broken tooltip and truncate them if too long
- Fix SystemInfo width which can lead to blurry image in the taskbar
This commit is contained in:
Quadbyte 2025-08-04 21:33:25 -04:00
parent 34fec629e7
commit 9857ef583c
3 changed files with 10 additions and 3 deletions

View file

@ -16,8 +16,6 @@ Window {
color: "transparent"
visible: false
minimumWidth: Math.max(50, tooltipText.implicitWidth + 24)
minimumHeight: Math.max(50, tooltipText.implicitHeight + 16)
property var _timerObj: null
onTooltipVisibleChanged: {
@ -36,6 +34,9 @@ Window {
}
function _showNow() {
width = Math.max(50, tooltipText.implicitWidth + 24)
height = Math.max(50, tooltipText.implicitHeight + 16)
if (!targetItem) return;
if (positionAbove) {