src/eric7/VCS/StatusWidget.py

branch
eric7
changeset 10401
a68f6ac72783
parent 9653
e67609152c5e
child 10402
1b63ffeca110
diff -r 829f76e34072 -r a68f6ac72783 src/eric7/VCS/StatusWidget.py
--- a/src/eric7/VCS/StatusWidget.py	Mon Dec 11 10:37:25 2023 +0100
+++ b/src/eric7/VCS/StatusWidget.py	Mon Dec 11 14:56:35 2023 +0100
@@ -62,15 +62,19 @@
         self.__layout = QVBoxLayout()
         self.__layout.setObjectName("MainLayout")
         self.__layout.setContentsMargins(0, 3, 0, 0)
-        self.__topLayout = QHBoxLayout()
-        self.__topLayout.setObjectName("topLayout")
 
-        # Create the top area
+        # Create the info label part
         self.__infoLabel = QLabel(self)
         self.__infoLabel.setSizePolicy(
             QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred
         )
-        self.__topLayout.addWidget(self.__infoLabel)
+        self.__layout.addWidget(self.__infoLabel)
+
+        # Create the top area
+        self.__topLayout = QHBoxLayout()
+        self.__topLayout.setObjectName("topLayout")
+
+        self.__topLayout.addStretch()
 
         self.__commitToggleButton = QToolButton(self)
         self.__commitToggleButton.setIcon(EricPixmapCache.getIcon("check"))
@@ -108,6 +112,8 @@
         self.__actionsButton.setPopupMode(QToolButton.ToolButtonPopupMode.InstantPopup)
         self.__topLayout.addWidget(self.__actionsButton)
 
+        self.__topLayout.addStretch()
+
         self.__layout.addLayout(self.__topLayout)
         ###################################################################
 

eric ide

mercurial