Author Topic: Qt5: I can't change buttons width  (Read 274 times)


  • Sr. Member
  • ****
  • Posts: 475
Qt5: I can't change buttons width
« on: October 31, 2022, 10:37:49 pm »
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:
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by Rik

Sorry for my bad English, I'm using translator ;)


TinyPortal © 2005-2018