mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Add two methods to compute the height and width of an individual line in a RichTextLabel
This commit is contained in:
parent
09ea7bc6a3
commit
4115b813fe
3 changed files with 57 additions and 0 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue