Python Forum
[PyQt] QGridLayout and stretching widgets when maximized
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] QGridLayout and stretching widgets when maximized
#2
I figured it out. When I wrote this, I forgot there was an extra, empty column at the end of the grid. By making my widgets span that empty column, and setting the stretch (as I correctly understood it), all is good.

Qt works as expected. Or should as I say as I understand it to. If there is a fault, it will be in my understanding.
Reply


Messages In This Thread
RE: QGridLayout and stretching widgets when maximized - by malonn - Oct-05-2022, 09:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] QGridLayout, QProgressBar bar fills widgets shrink malonn 5 2,640 Nov-23-2022, 05:30 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020