fix TextBox behavior with markup used

This commit is contained in:
MihailRis
2025-02-15 23:26:32 +03:00
parent 33795f06f7
commit 31d5cb6880
4 changed files with 63 additions and 36 deletions
+3
View File
@@ -20,6 +20,9 @@ namespace gui {
void prepare(Font* font, size_t wrapWidth);
void update(const std::wstring& text, bool multiline, bool wrap);
size_t getTextLineOffset(size_t line) const;
uint getLineByTextIndex(size_t index) const;
};
class Label : public UINode {