Closed polygonalize closed 3 years ago
Hi @diagonalize thanks for the feedback! Checking seems like for actually applying the size change the update
method should be call (and I think that's why using an animation enables to actually resize the icon). Could you try to call spin.widget.update()
and see if that helps? Let us know!
Hello @dalthviz. The update() method did indeed fix my issue.
Thank you very much!
I looked at the usage example to see how I could size an icon without putting it in a button widget and this works:
But if I try to add my an icon without animations, I cannot get the desired size. It will show in its default size. For example, this code will not show the icon in the size I desire:
Is there a workaround that doesn't require setting the icon in a QPushButton?