Bitmap font wrapping so far

This commit is contained in:
2023-03-14 21:10:07 -07:00
parent 9c9c64228a
commit 9c556c4955
2 changed files with 27 additions and 5 deletions

View File

@ -45,7 +45,7 @@ namespace Dawn {
label->text = "Hello World, how are you today? I hope you are doing well. I really like the fact I can ramble in my text for once.";
label->font = &font;
label->maxWidth = 275;
label->maxWidth = 220;
image->alignment = glm::vec4(0, 0, label->getContentWidth(), label->getContentHeight());
}