1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Adding a vertical splitter to the create node dialog so the descriptions are easier to read

Adding a vertical splitter to the create node dialog so the descriptions are easier to read

clang-format conformity
This commit is contained in:
Jason Weiler
2025-09-27 23:31:59 -04:00
committed by Jason Weiler
parent 7864ac8019
commit 877468ab35
2 changed files with 13 additions and 2 deletions

View File

@@ -4533,6 +4533,7 @@ EditorHelpBit::EditorHelpBit(const String &p_symbol, const String &p_prologue, b
content = memnew(RichTextLabel);
content->set_theme_type_variation("EditorHelpBitContent");
content->set_custom_minimum_size(Size2(640 * EDSCALE, content_min_height));
content->set_v_size_flags(Control::SIZE_EXPAND_FILL);
content->set_selection_enabled(p_allow_selection);
content->set_context_menu_enabled(p_allow_selection);
content->set_selection_modifier(callable_mp_static(_replace_nbsp_with_space));