You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #71330 from Geometror/richtextlabel-fit-content
[RichTextLabel] Match minimum size calculation of Label (proper content fitting)
This commit is contained in:
@@ -2370,7 +2370,7 @@ EditorHelpBit::EditorHelpBit() {
|
||||
rich_text = memnew(RichTextLabel);
|
||||
add_child(rich_text);
|
||||
rich_text->connect("meta_clicked", callable_mp(this, &EditorHelpBit::_meta_clicked));
|
||||
rich_text->set_fit_content_height(true);
|
||||
rich_text->set_fit_content(true);
|
||||
set_custom_minimum_size(Size2(0, 50 * EDSCALE));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user