Grid alignment, does have a small bug though.
This commit is contained in:
1 parent
774ab04ade
commit
104af8ff45
3 files changed
+19
-8
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user