Skip to content

Commit

Permalink
Fix history widget layout for large width #210
Browse files Browse the repository at this point in the history
  • Loading branch information
Acly committed Dec 10, 2023
1 parent cc766bf commit 5dccc81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai_diffusion/ui/generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def add(self, job: Job):
header.setFlags(Qt.ItemFlag.NoItemFlags)
header.setData(Qt.ItemDataRole.UserRole, job.id)
header.setData(Qt.ItemDataRole.ToolTipRole, job.prompt)
header.setSizeHint(QSize(800, self.fontMetrics().lineSpacing() + 4))
header.setSizeHint(QSize(9999, self.fontMetrics().lineSpacing() + 4))
header.setTextAlignment(Qt.AlignmentFlag.AlignLeft)
self.addItem(header)

Expand Down

0 comments on commit 5dccc81

Please sign in to comment.