import QtQuick import "." // Shared tooltip bubble visual. Host inside a click-through overlay // PanelWindow (see Bar/TrayTooltip.qml) - this only draws the label chrome. Rectangle { id: bubble property string text: "" radius: Theme.geometry.radiusMedium color: Theme.colors.background border.color: Theme.colors.border border.width: 1 width: label.implicitWidth + Theme.geometry.padding * 2 height: label.implicitHeight + Theme.geometry.padding Text { id: label anchors.centerIn: parent text: bubble.text color: Theme.colors.text font.family: Theme.font.family font.pixelSize: Theme.type.caption } }