Grid alignment, does have a small bug though.

This commit is contained in:
2023-01-24 21:28:29 -08:00
parent 774ab04ade
commit 104af8ff45
3 changed files with 19 additions and 8 deletions

View File

@ -53,8 +53,7 @@ void TestUIScene::stage() {
label->setFont(&assetFont->font);
label->setText("test.1");
label->setFontSize(24);
grid->addToGrid(label, x, y);
grid->addToGrid(label, x, y, UI_COMPONENT_ALIGN_END, UI_COMPONENT_ALIGN_END);
}
}
}