diff --git a/src/MovieView.py b/src/MovieView.py index f4a69d5..c57863e 100644 --- a/src/MovieView.py +++ b/src/MovieView.py @@ -19,20 +19,17 @@ class MovieView(QWidget): contentlayout = QGridLayout() # Create labels and buttons - label1 = QLabel(f"Buying a ticket for {movie.name}\nFor cost ${movie.price}") + label1 = QLabel(f"Buying a ticket for {movie.name}\nFor cost ${movie.price}\n\n{movie.description}") label1.setWordWrap(True) - label2 = QLabel(movie.description) - label2.setWordWrap(True) - label3 = createImage(movie.image_path) + label2 = createImage(movie.image_path) button1 = QPushButton("Buy") button1.setMaximumWidth(100) contentlayout.addWidget(label1, 0, 0, alignment=Qt.AlignmentFlag.AlignTop | Qt.AlignmentFlag.AlignLeft) - contentlayout.addWidget(label2, 1, 0, alignment=Qt.AlignmentFlag.AlignTop | Qt.AlignmentFlag.AlignLeft) contentlayout.addWidget(button1, 1, 0, alignment=Qt.AlignmentFlag.AlignBottom | Qt.AlignmentFlag.AlignLeft) - bodylayout.addWidget(label3) + bodylayout.addWidget(label2) bodylayout.addLayout(contentlayout) self.setLayout(bodylayout)