forked from qt-creator/qt-creator
Gitlab: Simplify dialog layout
Remove several cases of unneeded nesting of boxes of the same kind. Change-Id: Id9e03c0ea98839d5549e07bb3966496505cb880a Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -121,42 +121,30 @@ GitLabDialog::GitLabDialog(QWidget *parent)
|
|||||||
const Stretch st;
|
const Stretch st;
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
Column {
|
Row {
|
||||||
Row {
|
|
||||||
Column {
|
|
||||||
m_mainLabel,
|
|
||||||
m_detailsLabel
|
|
||||||
},
|
|
||||||
st,
|
|
||||||
tr("Remote:"),
|
|
||||||
m_remoteComboBox
|
|
||||||
},
|
|
||||||
Column {
|
Column {
|
||||||
Column {
|
m_mainLabel,
|
||||||
Space(40),
|
m_detailsLabel
|
||||||
Column {
|
},
|
||||||
Row {
|
st,
|
||||||
m_treeViewTitle,
|
tr("Remote:"),
|
||||||
st,
|
m_remoteComboBox
|
||||||
m_searchLineEdit,
|
|
||||||
searchPB
|
|
||||||
},
|
|
||||||
Column {
|
|
||||||
m_treeView,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
Space(40),
|
||||||
|
Row {
|
||||||
|
m_treeViewTitle,
|
||||||
|
st,
|
||||||
|
m_searchLineEdit,
|
||||||
|
searchPB
|
||||||
|
},
|
||||||
|
m_treeView,
|
||||||
Row {
|
Row {
|
||||||
st,
|
st,
|
||||||
Row {
|
m_firstToolButton,
|
||||||
m_firstToolButton,
|
m_previousToolButton,
|
||||||
m_previousToolButton,
|
m_currentPageLabel,
|
||||||
m_currentPageLabel,
|
m_nextToolButton,
|
||||||
m_nextToolButton,
|
m_lastToolButton,
|
||||||
m_lastToolButton
|
|
||||||
},
|
|
||||||
st,
|
st,
|
||||||
},
|
},
|
||||||
buttonBox
|
buttonBox
|
||||||
|
|||||||
Reference in New Issue
Block a user