wip
This commit is contained in:
@@ -42,7 +42,7 @@ void ReadyWindow::paintEvent(QPaintEvent *event) {
|
||||
|
||||
// Calculate the top-left position to center the image in the window.
|
||||
int x = (this->width() - comma_img.width()) / 2;
|
||||
int y = (this->height() - comma_img.height()) / 2;
|
||||
int y = ((this->height() - comma_img.height()) / 20) * 9;
|
||||
|
||||
// Draw the pixmap at the calculated position.
|
||||
painter.drawPixmap(x, y, comma_img);
|
||||
|
||||
Reference in New Issue
Block a user