don't mix anchors and layouts
This commit is contained in:
parent
7538c3292c
commit
d29b3f051d
@ -94,6 +94,7 @@ void IconItem::setSource(const QVariant &source)
|
||||
if (source.toString().isEmpty()) {
|
||||
delete m_svgIcon;
|
||||
m_svgIcon = 0;
|
||||
m_loadPixmapTimer.start();
|
||||
emit validChanged();
|
||||
return;
|
||||
}
|
||||
|
@ -90,8 +90,8 @@ QtQuickControlStyle.ButtonStyle {
|
||||
visible: when
|
||||
Layout.minimumWidth: units.iconSizes.small
|
||||
Layout.maximumWidth: Layout.minimumWidth
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
height: width
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
source: Component {
|
||||
PlasmaCore.SvgItem {
|
||||
|
Loading…
Reference in New Issue
Block a user