Bitmap font wrapping so far
This commit is contained in:
1 parent
9c9c64228a
commit
9c556c4955
2 files changed
+27
-5
No files matched your search
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user