Is it possible to dynamically span columns in a QGridLayout?

26 views Asked by At

I am using PyQt5, and have a need to create a grid layout, initially with fixed sizes of rows and columns. At some point, I will have QLabel (or QButton) text that will be larger than the default cell width. Is it possible to adjust the size of the grid cell dynamically? At this point, I don't have any test code because I'm still trying to visualize how this can be accomplished - I'm just unsure if this is possible or not.

0

There are 0 answers