Commit 55e7f655 authored by Lorn Potter's avatar Lorn Potter
Browse files

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>
parent 3afaf008
...@@ -237,7 +237,6 @@ void CPPEditor::createToolBar(CPPEditorEditable *editable) ...@@ -237,7 +237,6 @@ void CPPEditor::createToolBar(CPPEditorEditable *editable)
{ {
m_methodCombo = new QComboBox; m_methodCombo = new QComboBox;
m_methodCombo->setMinimumContentsLength(22); m_methodCombo->setMinimumContentsLength(22);
m_methodCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents);
// Make the combo box prefer to expand // Make the combo box prefer to expand
QSizePolicy policy = m_methodCombo->sizePolicy(); QSizePolicy policy = m_methodCombo->sizePolicy();
......
...@@ -4047,8 +4047,7 @@ BaseTextEditorEditable::BaseTextEditorEditable(BaseTextEditor *editor) ...@@ -4047,8 +4047,7 @@ BaseTextEditorEditable::BaseTextEditorEditable(BaseTextEditor *editor)
QHBoxLayout *l = new QHBoxLayout; QHBoxLayout *l = new QHBoxLayout;
QWidget *w = new QWidget; QWidget *w = new QWidget;
l->setMargin(0); l->setMargin(0);
l->setContentsMargins(0, 0, 5, 0); l->setContentsMargins(5, 0, 5, 0);
l->addStretch(1);
l->addWidget(m_cursorPositionLabel); l->addWidget(m_cursorPositionLabel);
w->setLayout(l); w->setLayout(l);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment