Don't show the circular background if there's a menu
Otherwise it's centered on the button instead to the icon and it looks wrong. Also it's good that we use the rectangular background as it involves all the button, arrow included. Reviewed by Marco Martin
This commit is contained in:
parent
6098528cd4
commit
99282d151b
@ -119,7 +119,7 @@ QtQuickControlStyle.ButtonStyle {
|
||||
}
|
||||
|
||||
background: {
|
||||
if (control.text.length == 0 && (control.parent && control.parent.checkedButton === undefined) && !style.flat) {
|
||||
if (control.text.length == 0 && (control.parent && control.parent.checkedButton === undefined) && !style.flat && !control.menu) {
|
||||
return roundButtonComponent
|
||||
} else {
|
||||
return buttonComponent
|
||||
|
Loading…
Reference in New Issue
Block a user