Skip to content
Permalink
Browse files

align icons on the Manage layers toolbar (fix #15074) (#3232)

  • Loading branch information
alexbruy authored and m-kuhn committed Jun 24, 2016
1 parent 6749351 commit 279a65bb7e297a7df8a5674949feb8ce3f115479
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/app/qgisapp.cpp
@@ -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 );

0 comments on commit 279a65b

Please sign in to comment.
You can’t perform that action at this time.