forked from qt-creator/qt-creator
Fixes: make method combo take up more space on the toolbar, so long
class and method names can be seen. Task: <task number> Details: <additional information>
This commit is contained in:
@@ -237,7 +237,6 @@ void CPPEditor::createToolBar(CPPEditorEditable *editable)
|
||||
{
|
||||
m_methodCombo = new QComboBox;
|
||||
m_methodCombo->setMinimumContentsLength(22);
|
||||
m_methodCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||
|
||||
// Make the combo box prefer to expand
|
||||
QSizePolicy policy = m_methodCombo->sizePolicy();
|
||||
|
||||
@@ -4047,8 +4047,7 @@ BaseTextEditorEditable::BaseTextEditorEditable(BaseTextEditor *editor)
|
||||
QHBoxLayout *l = new QHBoxLayout;
|
||||
QWidget *w = new QWidget;
|
||||
l->setMargin(0);
|
||||
l->setContentsMargins(0, 0, 5, 0);
|
||||
l->addStretch(1);
|
||||
l->setContentsMargins(5, 0, 5, 0);
|
||||
l->addWidget(m_cursorPositionLabel);
|
||||
w->setLayout(l);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user