feat: add global ToolTip styling to HomePage
This commit is contained in:
@@ -17,6 +17,20 @@ Rectangle {
|
|||||||
border.color: Theme.outerFrameBorder
|
border.color: Theme.outerFrameBorder
|
||||||
border.width: Theme.borderStrong
|
border.width: Theme.borderStrong
|
||||||
|
|
||||||
|
// ===== Global ToolTip Styling =====
|
||||||
|
ToolTip.toolTip.background: Rectangle {
|
||||||
|
color: Theme.cardBackground
|
||||||
|
border.color: Theme.sideBorder
|
||||||
|
border.width: 1
|
||||||
|
radius: Theme.radiusXs
|
||||||
|
}
|
||||||
|
ToolTip.toolTip.contentItem: Text {
|
||||||
|
text: ToolTip.toolTip.text
|
||||||
|
color: Theme.headingColor
|
||||||
|
font.pixelSize: Theme.fontXs
|
||||||
|
font.family: Theme.uiFontFamily
|
||||||
|
}
|
||||||
|
|
||||||
// ===== View State =====
|
// ===== View State =====
|
||||||
property int selectedTabIndex: 0
|
property int selectedTabIndex: 0
|
||||||
onSelectedTabIndexChanged: {
|
onSelectedTabIndexChanged: {
|
||||||
|
|||||||
Reference in New Issue
Block a user