Merge pull request #25990 from YeldhamDev/new_node_desc_fix

Fix description size in "New Node" dialog
This commit is contained in:
Rémi Verschelde 2019-02-17 23:47:59 +01:00 committed by GitHub
commit d9cf780a70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);