mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user