BoardWidget: center horizontally

This commit is contained in:
Olivier Teulière 2012-12-17 22:53:07 +01:00
parent bf5ae9fc91
commit c21c109ddb

View file

@ -53,6 +53,7 @@ BoardWidget::BoardWidget(CoordModel &iCoordModel, QWidget *parent)
TileLayout *layout = new TileLayout(BOARD_MAX + 1, BOARD_MAX + 1);
layout->setSpacing(1);
layout->setAlignment(Qt::AlignHCenter);
// Line full of coordinates
TileWidget *cornerTile = new TileWidget;
cornerTile->setCoordText("");