Skip to content

Commit

Permalink
align icons on the Manage layers toolbar (fix #15074) (#3232)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy authored and m-kuhn committed Jun 24, 2016
1 parent 6749351 commit 279a65b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -2223,6 +2223,12 @@ void QgisApp::createToolBars()
addDbLayerAction->setObjectName( "ActionAddDbLayer" );
connect( bt, SIGNAL( triggered( QAction * ) ), this, SLOT( toolButtonActionTriggered( QAction * ) ) );

QLayout *layout = mLayerToolBar->layout();
for ( int i = 0; i < layout->count(); ++i )
{
layout->itemAt( i )->setAlignment( Qt::AlignLeft );
}

//circular string digitize tool button
QToolButton* tbAddCircularString = new QToolButton( mDigitizeToolBar );
tbAddCircularString->setPopupMode( QToolButton::MenuButtonPopup );
Expand Down

0 comments on commit 279a65b

Please sign in to comment.