hi friends.

i have some items in a QGridLayout that fine horizontally but vertically overlapped.
when i reduce minimum size of items they are fine but when i increase their size overlapping happens.
this is my code

Qt Code:
  1. for number in range(len(items)):
  2. lbl = QLabel()
  3. lbl.setMinimumSize(item_size)
  4. lbl.setContentsMargins(0, 0, 0, 0)
  5. grid_layout.addWidget(lbl, number, 1, 1, 1)
To copy to clipboard, switch view to plain text mode