Pretty much everything Label wise is working
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user