Menu basically done, grid is a bit buggy but good enough.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user