Tooltip: removed auto-positionning relative to the bar. as many tooltips are used in panels

- still a few edge cases to work on
This commit is contained in:
ItsLemmy
2025-09-27 14:57:11 -04:00
parent 4c516200dc
commit 8e248f6795
15 changed files with 44 additions and 23 deletions
+3
View File
@@ -36,6 +36,9 @@ NIconButton {
// If we have a custom path or distro logo, don't use the theme icon.
icon: (customIconPath === "" && !useDistroLogo) ? customIcon : ""
tooltipText: I18n.tr("tooltips.open-control-center")
tooltipPositionAbove: Settings.data.bar.position === "bottom"
tooltipPositionLeft: Settings.data.bar.position === "right"
tooltipPositionRight: Settings.data.bar.position === "left"
baseSize: Style.capsuleHeight
compact: (Settings.data.bar.density === "compact")
colorBg: (Settings.data.bar.showCapsule ? Color.mSurfaceVariant : Color.transparent)