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
for number in range(len(items)):
lbl.setMinimumSize(item_size)
lbl.setContentsMargins(0, 0, 0, 0)
grid_layout.addWidget(lbl, number, 1, 1, 1)
for number in range(len(items)):
lbl = QLabel()
lbl.setMinimumSize(item_size)
lbl.setContentsMargins(0, 0, 0, 0)
grid_layout.addWidget(lbl, number, 1, 1, 1)
To copy to clipboard, switch view to plain text mode
Bookmarks