mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
fix TextBox behavior with markup used
This commit is contained in:
parent
33795f06f7
commit
31d5cb6880
4 changed files with 63 additions and 36 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue