-Fix tooltips in inspector, now they show as rich text.

This commit is contained in:
Juan Linietsky
2018-07-20 18:14:33 -03:00
parent 002bacc01f
commit 336db8bcd1
11 changed files with 138 additions and 31 deletions

View File

@ -272,9 +272,9 @@ public:
~EditorHelp();
};
class EditorHelpBit : public Panel {
class EditorHelpBit : public PanelContainer {
GDCLASS(EditorHelpBit, Panel);
GDCLASS(EditorHelpBit, PanelContainer);
RichTextLabel *rich_text;
void _go_to_help(String p_what);
@ -285,6 +285,7 @@ protected:
void _notification(int p_what);
public:
RichTextLabel *get_rich_text() { return rich_text; }
void set_text(const String &p_text);
EditorHelpBit();
};