Tetris hdpi support

This commit is contained in:
Vadim Lopatin 2016-04-22 15:02:49 +03:00
parent 155607f188
commit d6bdd4ab1c
3 changed files with 2 additions and 1 deletions

View File

@ -514,7 +514,7 @@ class StatusWidget : VerticalLayout {
res.addChild(btn);
}
res.alignment = Align.Center;
res.layoutWidth(WRAP_CONTENT).layoutHeight(WRAP_CONTENT).margins(Rect(10.pointsToPixels, 10.pointsToPixels, 10.pointsToPixels, 10.pointsToPixels)).alignment(Align.Center);
res.layoutWidth(WRAP_CONTENT).layoutHeight(WRAP_CONTENT).margins(Rect(5.pointsToPixels, 5.pointsToPixels, 5.pointsToPixels, 5.pointsToPixels)).alignment(Align.Center);
return res;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -8,6 +8,7 @@ res/popup_background.9.png
res/rotate.png
res/tetris_logo_big.png
res/tx_fabric.jpg
res/hdpi_tetris_logo_big.png
res/hdpi_arrow-down.png
res/hdpi_arrow-left.png
res/hdpi_arrow-right.png