Commit f2251234 authored by Frédéric Larue's avatar Frédéric Larue
Browse files

Alignment of category widgets fixed.

parent 227e803f
......@@ -129,7 +129,7 @@ void AlgorithmSelector::finalizeTools()
categoryButton->setIconSize( QSize(80,80) );
categoryButton->setFlat( true );
categoryButton->setMinimumSize( 80, 80 );
categoryButton->setMaximumSize( 80, 80 );
//categoryButton->setMaximumSize( 80, 80 );
categoryButton->setCheckable( true );
l->addWidget( categoryButton );
m_CategoryButtonGroup->addButton( categoryButton, categoryId );
......@@ -139,7 +139,7 @@ void AlgorithmSelector::finalizeTools()
f.setPointSize( 7 );
categoryLabel->setFont( f );
categoryLabel->setAlignment( Qt::AlignHCenter );
categoryLabel->setWordWrap( true );
//categoryLabel->setWordWrap( true );
l->addWidget( categoryLabel );
QWidget *categoryPannel = new QWidget();
......@@ -150,7 +150,7 @@ void AlgorithmSelector::finalizeTools()
allCategories->addWidget( categoryPannel, i>>2, i&3 );
}
m_ui->widgetCategories->layout()->setAlignment(Qt::AlignLeft | Qt::AlignTop);
m_ui->widgetCategories->layout()->setAlignment(Qt::AlignHCenter | Qt::AlignTop);
}
......
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