Fix description size in "New Node" dialog

This commit is contained in:
Michael Alexsander Silva Dias 2019-02-17 19:06:42 -03:00
parent 006561a081
commit fe893bd6ef
2 changed files with 3 additions and 2 deletions

View File

@ -1511,6 +1511,7 @@ EditorHelpBit::EditorHelpBit() {
rich_text->connect("meta_clicked", this, "_meta_clicked");
rich_text->add_color_override("selection_color", EditorSettings::get_singleton()->get("text_editor/theme/selection_color"));
rich_text->set_override_selected_font_color(false);
set_custom_minimum_size(Size2(0, 70 * EDSCALE));
}
FindBar::FindBar() {

View File

@ -188,9 +188,9 @@ public:
~EditorHelp();
};
class EditorHelpBit : public MarginContainer {
class EditorHelpBit : public PanelContainer {
GDCLASS(EditorHelpBit, MarginContainer);
GDCLASS(EditorHelpBit, PanelContainer);
RichTextLabel *rich_text;
void _go_to_help(String p_what);