Skip to content

Commit

Permalink
Fix the action button being too big
Browse files Browse the repository at this point in the history
  • Loading branch information
iBelieve committed May 6, 2015
1 parent c00b6a7 commit 496f8ca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/Material/ActionButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ Controls.Button {
property bool isMiniSize: false

style: ControlStyles.ButtonStyle {
padding {
left: 0
right: 0
top: 0
bottom: 0
}

background: Item {
RectangularGlow {

Expand Down Expand Up @@ -121,6 +128,7 @@ Controls.Button {
anchors.centerIn: parent
name: control.iconName
color: button.iconColor
size: Units.dp(24)
}
}
}
Expand Down

0 comments on commit 496f8ca

Please sign in to comment.