mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-03 07:41:58 -04:00
Remove margin above first row of cards
This commit is contained in:
parent
992a08cf29
commit
499aeeb01e
@ -429,9 +429,7 @@ class VirtualCardContainer(QWidget):
|
||||
|
||||
# Assign cards to rows
|
||||
self._rows.clear()
|
||||
row_idx = 0
|
||||
i = 0
|
||||
y = lc.margin
|
||||
row_idx = i = y = 0
|
||||
while i < len(self._cards):
|
||||
row_cards = self._cards[i : i + self._cols_per_row]
|
||||
row_height = max(c.height for c in row_cards)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user