Add default border radius to buttons

This commit is contained in:
Angela Mazzurco 2017-07-22 16:30:27 +02:00
parent 0a3a8272b4
commit 9edccf8cc4
2 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@ Item
property color pressColor: color property color pressColor: color
property int fontSize property int fontSize
property int borderWidth property int borderWidth
property int borderRadius property int borderRadius: 3
property int innerMargin: 10 property int innerMargin: 10
height: innerText.height + innerMargin + innerMargin height: innerText.height + innerMargin + innerMargin

View File

@ -123,6 +123,7 @@ Drawer
iconUrl: (model.icon)? model.icon : undefined iconUrl: (model.icon)? model.icon : undefined
innerMargin: 20 innerMargin: 20
buttonTextPixelSize: menuItem.styles.pixelSize buttonTextPixelSize: menuItem.styles.pixelSize
borderRadius: 0
} }