--- 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) ###################################################################