Fix star rating buttons clipping text in review dialog

Increased button size from 36x36 to 40x40 and added padding: 0px so the
star glyphs render fully instead of being cut off on the sides.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rob 2026-01-30 03:18:38 -04:00
parent 58e270746d
commit a486bb6d45
1 changed files with 7 additions and 4 deletions

View File

@ -53,10 +53,11 @@ class ReviewDialog(QDialog):
self._star_buttons = []
for i in range(1, 6):
btn = QPushButton("")
btn.setFixedSize(36, 36)
btn.setFixedSize(40, 40)
btn.setStyleSheet("""
QPushButton {
font-size: 20px;
font-size: 22px;
padding: 0px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #f7fafc;
@ -142,7 +143,8 @@ class ReviewDialog(QDialog):
btn.setText("")
btn.setStyleSheet("""
QPushButton {
font-size: 20px;
font-size: 22px;
padding: 0px;
border: 1px solid #d69e2e;
border-radius: 4px;
background: #fefcbf;
@ -154,7 +156,8 @@ class ReviewDialog(QDialog):
btn.setText("")
btn.setStyleSheet("""
QPushButton {
font-size: 20px;
font-size: 22px;
padding: 0px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #f7fafc;