diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 56da7d93fa6..2cb1f4ad38c 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -1687,6 +1687,18 @@ void EditorInspector::update_tree() { break; } } + + Vector slices = propname.operator String().split("/"); + if (slices.size() == 2 && slices[0].begins_with("custom_")) { + // Likely a theme property. + for (int i = 0; i < F->get().theme_properties.size(); i++) { + if (F->get().theme_properties[i].name == slices[1]) { + descr = F->get().theme_properties[i].description.strip_edges(); + break; + } + } + } + if (!F->get().inherits.empty()) { F = dd->class_list.find(F->get().inherits); } else {