Forum > QT

Qt5: I can't change buttons width


Hi folks

I am creating buttons in embedded forms at runtime. I change their width at runtime so that the width of the button is equal to the height of the combobox component.

I manage to do it for win and gtk2 but not for Qt5

Can someone explain to me why this is happening?

My test project here

More pictures:
win 10:


[0] Message Index

Go to full version