mirror of https://github.com/buggins/dlangui.git
Tetris hdpi support
This commit is contained in:
parent
155607f188
commit
d6bdd4ab1c
|
@ -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 |
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue