Grid alignment, does have a small bug though.

This commit is contained in:
YourWishes committed 2023-01-24 21:28:29 -08:00
1 parent 774ab04ade
commit 104af8ff45
3 files changed
+19 -8

No files matched your search

+1 -2
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);
}
}
}