This commit is contained in:
zhuzichu
2023-04-19 23:05:02 +08:00
7 changed files with 63 additions and 3 deletions

View File

@ -61,9 +61,9 @@ Button {
width: pressed ? 28 : 20
anchors{
left: selected ? undefined : parent.left
leftMargin: selected ? 10 : 0
leftMargin: selected ? 20 : 0
right: selected ? parent.right : undefined
rightMargin: selected ? 0: 10
rightMargin: selected ? 0: 20
}
height: 20
radius: 10