forked from Mirror/libstarlight
whoops, wrong name there
This commit is contained in:
parent
abc14995d8
commit
c17200e8db
@ -44,7 +44,7 @@ void Core::Init() {
|
|||||||
auto label = std::make_shared<sl::ui::Label>(VRect(0,0,320,0));
|
auto label = std::make_shared<sl::ui::Label>(VRect(0,0,320,0));
|
||||||
label->textConfig.justification = Vector2::half;
|
label->textConfig.justification = Vector2::half;
|
||||||
label->autoSizeV = true;
|
label->autoSizeV = true;
|
||||||
label->SetText("~libstardust UI test~\n\nHello. I'm a label.\nI have multiple lines and can resize to fit my content. Did you know that miles per gallon is actually a measure of volume?");
|
label->SetText("~libstarlight UI test~\n\nHello. I'm a label.\nI have multiple lines and can resize to fit my content. Did you know that miles per gallon is actually a measure of volume?");
|
||||||
container->Add(label);
|
container->Add(label);
|
||||||
|
|
||||||
auto button = std::make_shared<sl::ui::Button>(VRect(64,80,128,32));
|
auto button = std::make_shared<sl::ui::Button>(VRect(64,80,128,32));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user