[ExpandableListItem] use standard button sizes
The sizes of the context buttons on the list item were being overridden for no apparent reason. Let's stop doing that so that the button sizes are consistent with other PC3 button sizes.
This commit is contained in:
parent
bc4a6d06bc
commit
cc86759139
@ -468,9 +468,6 @@ Item {
|
||||
&& listItem.defaultActionButtonVisible
|
||||
&& (clickAndHoverHandler.containsMouse || expandedView.visible)
|
||||
&& (!busyIndicator.visible || listItem.showDefaultActionButtonWhenBusy)
|
||||
|
||||
icon.width: units.iconSizes.smallMedium
|
||||
icon.height: units.iconSizes.smallMedium
|
||||
}
|
||||
|
||||
// Expand/collapse button
|
||||
@ -478,8 +475,6 @@ Item {
|
||||
visible: clickAndHoverHandler.containsMouse || expandedView.visible
|
||||
|
||||
icon.name: expandedView.visible? "collapse" : "expand"
|
||||
icon.width: units.iconSizes.smallMedium
|
||||
icon.height: units.iconSizes.smallMedium
|
||||
|
||||
onClicked: listItem.toggleExpanded()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user