forked from qt-creator/qt-creator
		
	More improvements of text editor tool bar
Make line/column label always visible, and move context drop down to the right, so it vanishes first. Reduce the minimum size and stretch of the outline drop down, so the context drop down doesn't vanish too early either. Task-number: QTCREATORBUG-15218 Task-number: QTCREATORBUG-19386 Change-Id: Ie2ced1cb62a27a0129438f5605d5711bfac50cd0 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
		@@ -109,10 +109,9 @@ CppEditorOutline::CppEditorOutline(TextEditor::TextEditorWidget *editorWidget)
 | 
			
		||||
    // Set up combo box
 | 
			
		||||
    m_combo->setModel(m_proxyModel);
 | 
			
		||||
 | 
			
		||||
    m_combo->setMinimumContentsLength(22);
 | 
			
		||||
    m_combo->setMinimumContentsLength(13);
 | 
			
		||||
    QSizePolicy policy = m_combo->sizePolicy();
 | 
			
		||||
    policy.setHorizontalPolicy(QSizePolicy::Expanding);
 | 
			
		||||
    policy.setHorizontalStretch(2);
 | 
			
		||||
    m_combo->setSizePolicy(policy);
 | 
			
		||||
    m_combo->setMaxVisibleItems(40);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user