Commit fff03c80 authored by Frédéric Brière's avatar Frédéric Brière Committed by Albert Astals Cid
Browse files

radselect: Add trailing "+" to last radicals column header

The last column in the radicals button grid contains all radicals of
11 *or more* strokes.  A "11+" header makes this more explicit.
(Otherwise, one could assume that columns 12-17 have been cropped out.)

(cherry picked from commit c68535ea)
parent c0fee669
......@@ -59,7 +59,12 @@ void ButtonGrid::buildRadicalButtons()
//Now make labels
for( unsigned int i = 0; i < number_of_radical_columns; i++ )
{
QLabel *header = new QLabel( QString::number( i + 1 ), this );
QString headerString = QString::number( i + 1 );
if( i == ( number_of_radical_columns - 1 ) )
{
headerString.append( QStringLiteral( "+" ) );
}
QLabel *header = new QLabel( headerString, this );
header->setAlignment( Qt::AlignHCenter );
grid->addWidget( header, 0, i );
}
......
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