Open ldunham1 opened 4 years ago
Exposed as an argument so it can be overridden. I do wonder whether it should be an argument at all though. I will probably put together some general standards/expectations for flexibility of 'extended widgets'
Exposing as an argument make sense, but IMO it should have a default value of None to use either a size suitable to the intended usage or just not used (devs and modify after anyway)
Yes, i agree actually. I will re-open this
https://github.com/mikemalinowski/qute/blob/3c5e1c34eba7153ba564910963f5c48c7abd1b4c/qute/extensions/buttons.py#L11
Personally, I let the layout constraints and affecting size policies do there thing, only setting the size if I need to. Forcing a size argument feels a little unnecessary outside of the button's existing usage?