Add two methods to compute the height and width of an individual line in a RichTextLabel

This commit is contained in:
ExEago 2025-04-17 20:04:43 +02:00
parent 09ea7bc6a3
commit 4115b813fe
3 changed files with 57 additions and 0 deletions

View file

@ -849,6 +849,9 @@ public:
int get_content_height() const;
int get_content_width() const;
int get_line_height(int p_line) const;
int get_line_width(int p_line) const;
void scroll_to_selection();
VScrollBar *get_v_scroll_bar() { return vscroll; }