mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-18 10:26:15 +01:00
BoardWidget: center horizontally
This commit is contained in:
parent
bf5ae9fc91
commit
c21c109ddb
1 changed files with 1 additions and 0 deletions
|
@ -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("");
|
||||
|
|
Loading…
Reference in a new issue