Pretty much everything Label wise is working

This commit is contained in:
2023-06-12 08:32:12 -07:00
parent a4eecbe1d4
commit c7d5377b9c
10 changed files with 306 additions and 93 deletions

View File

@@ -27,6 +27,7 @@ namespace Dawn {
auto newLabelItem = this->createSceneItem();
newLabelItem->transform.setParent(canvas->transform);
auto newLabel = newLabelItem->addComponent<UILabelNew>();
newLabel->test = "<font font=\"font_arial\" size=\"32\" color=\"COLOR_BLUE\">Hello</font><font style=\"bold\" font=\"font_arial\" size=\"64\" color=\"COLOR_RED\">World</font>";
}
std::vector<Asset*> getRequiredAssets() override {