Button, ToolButton: improve implicit sizing, correctly set default button state
Now accounts for inset, padding and the contentItem if one is defined. isDefault
is for QQC1 and does not work in QQC2.
Edited by Noah Davis
Now accounts for inset, padding and the contentItem if one is defined. isDefault
is for QQC1 and does not work in QQC2.