diff --git a/src/plugins/git/gitsubmiteditorwidget.cpp b/src/plugins/git/gitsubmiteditorwidget.cpp index ec09437e266..c9b716df269 100644 --- a/src/plugins/git/gitsubmiteditorwidget.cpp +++ b/src/plugins/git/gitsubmiteditorwidget.cpp @@ -37,6 +37,7 @@ public: GitSubmitPanel() { repositoryLabel = new QLabel(Tr::tr("repository")); + repositoryLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); branchLabel = new QLabel(Tr::tr("branch")); // FIXME: Isn't this overwritten soon? showHeadLabel = new QLabel("" + Tr::tr("Show HEAD") + ""); @@ -64,18 +65,18 @@ public: editGroup = new QGroupBox(Tr::tr("Commit Information")); Grid { - Tr::tr("Author:"), authorLineEdit, invalidAuthorLabel, st, br, + Tr::tr("Author:"), authorLineEdit, invalidAuthorLabel, br, Tr::tr("Email:"), emailLineEdit, invalidEmailLabel, br, empty, Row { bypassHooksCheckBox, signOffCheckBox, st } }.attachTo(editGroup); - Column { + Row { Group { title(Tr::tr("General Information")), Form { Tr::tr("Repository:"), repositoryLabel, br, Tr::tr("Branch:"), branchLabel, br, - Span(2, showHeadLabel) + empty, showHeadLabel } }, editGroup,