diff --git a/src/ui/MainWindow.py b/src/ui/MainWindow.py index 45f1168..1592ede 100644 --- a/src/ui/MainWindow.py +++ b/src/ui/MainWindow.py @@ -1285,7 +1285,7 @@ class MainWindow(QMainWindow): def _create_centered_progress_bar(self) -> tuple[QWidget, QProgressBar]: """ - Erstellt eine zentrierte Progress Bar in einem Container-Widget. + Erstellt eine linksbündige Progress Bar in einem Container-Widget. Returns: tuple: (container_widget, progress_bar) @@ -1294,7 +1294,7 @@ class MainWindow(QMainWindow): container = QWidget() layout = QHBoxLayout(container) layout.setContentsMargins(0, 0, 0, 0) - layout.setAlignment(Qt.AlignmentFlag.AlignCenter) + layout.setAlignment(Qt.AlignmentFlag.AlignLeft) # Progress Bar erstellen (indeterminate mode für pulsierenden Effekt) progress_bar = QProgressBar() @@ -1310,7 +1310,7 @@ class MainWindow(QMainWindow): def _create_centered_diff_icon(self, xml_file_path: Path, xsl_id_str: str) -> QWidget: """ - Erstellt ein zentriertes, klickbares Icon für Diff-PDF. + Erstellt ein linksbündiges, klickbares Icon für Diff-PDF. Args: xml_file_path: Pfad zur XML-Datei (relativ) @@ -1323,7 +1323,7 @@ class MainWindow(QMainWindow): container = QWidget() layout = QHBoxLayout(container) layout.setContentsMargins(0, 0, 0, 0) - layout.setAlignment(Qt.AlignmentFlag.AlignCenter) + layout.setAlignment(Qt.AlignmentFlag.AlignLeft) # Icon-Label icon_label = QLabel()