1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Remove unecessary anchors&margins set causing bad display (sons of containers)

This commit is contained in:
Gilles Roudiere
2017-09-26 18:56:52 +02:00
parent ccb4a6acee
commit 6f185cc9f7
7 changed files with 1 additions and 9 deletions

View File

@@ -1790,7 +1790,6 @@ EditorHelp::EditorHelp() {
{
class_desc = memnew(RichTextLabel);
vbc->add_child(class_desc);
class_desc->set_anchors_and_margins_preset(Control::PRESET_WIDE);
class_desc->set_v_size_flags(SIZE_EXPAND_FILL);
class_desc->add_color_override("selection_color", EDITOR_DEF("text_editor/highlighting/selection_color", Color(0.2, 0.2, 1)));
class_desc->connect("meta_clicked", this, "_class_desc_select");