Add toasts & tooltips to a lot of things, add Disk Usage
This commit is contained in:
parent
fdfe9ea2e1
commit
94d64a91b8
12 changed files with 102 additions and 6 deletions
|
|
@ -96,7 +96,7 @@ Item {
|
|||
width: iconSize
|
||||
height: iconSize
|
||||
radius: width * 0.5
|
||||
color: hovered && !forceOpen? Color.mPrimary : Color.mSurfaceVariant
|
||||
color: hovered && !forceOpen ? Color.mPrimary : Color.mSurfaceVariant
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
x: rightOpen ? 0 : (parent.width - width)
|
||||
|
|
@ -111,8 +111,8 @@ Item {
|
|||
NIcon {
|
||||
icon: root.icon
|
||||
font.pointSize: Style.fontSizeM * scaling
|
||||
color: hovered && !forceOpen? Color.mOnPrimary : Color.mOnSurface
|
||||
// Center horizontally
|
||||
color: hovered && !forceOpen ? Color.mOnPrimary : Color.mOnSurface
|
||||
// Center horizontally
|
||||
x: (iconCircle.width - width) / 2
|
||||
// Center vertically accounting for font metrics
|
||||
y: (iconCircle.height - height) / 2 + (height - contentHeight) / 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue