styled tooltip

This commit is contained in:
Benjamin Palko 2025-08-27 09:49:16 -04:00
parent 13e6345b1d
commit b75a2a12c7
2 changed files with 30 additions and 1 deletions

View file

@ -8,6 +8,7 @@ import Quickshell.Hyprland
import Quickshell.Wayland
import Quickshell.Widgets
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
StyledWindow {
@ -39,6 +40,15 @@ StyledWindow {
}
}
ColumnLayout {}
ColumnLayout {
Button {
id: toolTipButton
text: "Hello world!"
StyledToolTip {
visible: toolTipButton.hovered
text: qsTr("Save the active project")
}
}
}
}
}