You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using multiple QPushButtons in a layout with a spacer, they appear to be squashed like this:
My workaround was to add a min-width of 70 pixels to the QPushButton class, but maybe there's a better solution. Maybe adding a default padding in each direction should work.
The text was updated successfully, but these errors were encountered:
Yeah, I can add padding for left and right. But do note that, if the width of the button isn't wide enough, the label would be partially obscured by the padding. Either way, you might need to specify a minimum width.
Hi,
When using multiple QPushButtons in a layout with a spacer, they appear to be squashed like this:
![Screenshot 2022-07-20 at 12 13 01](https://user-images.githubusercontent.com/97025679/179958125-0e7a5032-59c3-45ed-8e82-e92a75c1d8f9.jpg)
My workaround was to add a
min-width
of 70 pixels to the QPushButton class, but maybe there's a better solution. Maybe adding a default padding in each direction should work.The text was updated successfully, but these errors were encountered: