[ToolButtonStyle] Fix menu arrow
This fixes the size of the icon as well as its color group. REVIEW: 128870
This commit is contained in:
parent
014d417080
commit
b115ea1c55
@ -103,16 +103,18 @@ QtQuickControlStyle.ButtonStyle {
|
||||
visible: when
|
||||
Layout.minimumWidth: units.iconSizes.small
|
||||
Layout.maximumWidth: Layout.minimumWidth
|
||||
|
||||
Layout.minimumHeight: Layout.minimumWidth
|
||||
Layout.maximumHeight: Layout.maximumWidth
|
||||
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
height: width
|
||||
|
||||
source: Component {
|
||||
PlasmaCore.SvgItem {
|
||||
visible: control.menu !== null
|
||||
anchors.fill: parent
|
||||
svg: PlasmaCore.Svg {
|
||||
imagePath: "widgets/arrows"
|
||||
colorGroup: style.controlHovered || !style.flat ? PlasmaCore.Theme.ButtonColorGroup : PlasmaCore.Theme.NormalColorGroup
|
||||
colorGroup: style.controlHovered || !style.flat ? PlasmaCore.Theme.ButtonColorGroup : PlasmaCore.ColorScope.colorGroup
|
||||
}
|
||||
elementId: "down-arrow"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user