fix(ui): correct chat box layout with dynamic height and bottom anchor

This commit is contained in:
2026-07-18 18:27:49 +08:00
parent 7f2597ebe0
commit f4103e254e
3 changed files with 17 additions and 15 deletions

View File

@@ -15,6 +15,8 @@ public:
ChatBox& set_scale(float scale);
ChatBox& set_text_scale(float scale);
// Only the width of TextField can be set; the height is calculated
// dynamically
ChatBox& set_width(float width);
ChatBox& set_show_lines(int lines);
ChatBox& set_spacing(float spacing);