Merge pull request #25990 from YeldhamDev/new_node_desc_fix
Fix description size in "New Node" dialog
This commit is contained in:
commit
d9cf780a70
2 changed files with 3 additions and 2 deletions
|
@ -1511,6 +1511,7 @@ EditorHelpBit::EditorHelpBit() {
|
||||||
rich_text->connect("meta_clicked", this, "_meta_clicked");
|
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->add_color_override("selection_color", EditorSettings::get_singleton()->get("text_editor/theme/selection_color"));
|
||||||
rich_text->set_override_selected_font_color(false);
|
rich_text->set_override_selected_font_color(false);
|
||||||
|
set_custom_minimum_size(Size2(0, 70 * EDSCALE));
|
||||||
}
|
}
|
||||||
|
|
||||||
FindBar::FindBar() {
|
FindBar::FindBar() {
|
||||||
|
|
|
@ -188,9 +188,9 @@ public:
|
||||||
~EditorHelp();
|
~EditorHelp();
|
||||||
};
|
};
|
||||||
|
|
||||||
class EditorHelpBit : public MarginContainer {
|
class EditorHelpBit : public PanelContainer {
|
||||||
|
|
||||||
GDCLASS(EditorHelpBit, MarginContainer);
|
GDCLASS(EditorHelpBit, PanelContainer);
|
||||||
|
|
||||||
RichTextLabel *rich_text;
|
RichTextLabel *rich_text;
|
||||||
void _go_to_help(String p_what);
|
void _go_to_help(String p_what);
|
||||||
|
|
Loading…
Reference in a new issue