Menu basically done, grid is a bit buggy but good enough.

This commit is contained in:
YourWishes committed 2023-01-28 21:28:10 -08:00
1 parent 9ebd4eb6ad
commit 329383da30
6 files changed
+51 -13

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ void TestUIScene::stage() {
label->setFont(&assetFont->font);
label->setText("test.1");
label->setFontSize(24);
grid->addToGrid(label, x, y, UI_COMPONENT_ALIGN_END, UI_COMPONENT_ALIGN_END);
grid->addToGrid(label, x, y, UI_COMPONENT_ALIGN_MIDDLE, UI_COMPONENT_ALIGN_MIDDLE);
auto menuItem = new TestMenuItem;
menuItem->label = label;