Add theme property to control hovered avatar size
This commit is contained in:
parent
812fc3aff7
commit
164f09c939
|
@ -58,7 +58,7 @@ Rectangle {
|
||||||
width: Math.min(
|
width: Math.min(
|
||||||
mainUI.width / 1.25,
|
mainUI.width / 1.25,
|
||||||
mainUI.height / 1.25,
|
mainUI.height / 1.25,
|
||||||
192 + background.border.width * 2
|
theme.controls.avatar.hoveredSize + background.border.width * 2
|
||||||
)
|
)
|
||||||
height: width
|
height: width
|
||||||
delay: 1000
|
delay: 1000
|
||||||
|
|
|
@ -172,8 +172,9 @@ controls:
|
||||||
color foreground: colors.accentBackground
|
color foreground: colors.accentBackground
|
||||||
|
|
||||||
avatar:
|
avatar:
|
||||||
int size: baseElementsHeight
|
int size: baseElementsHeight
|
||||||
int radius: theme.radius
|
int radius: theme.radius
|
||||||
|
int hoveredSize: 192
|
||||||
|
|
||||||
background:
|
background:
|
||||||
int saturation: colors.saturation + 10
|
int saturation: colors.saturation + 10
|
||||||
|
|
Loading…
Reference in New Issue
Block a user