diff --git a/src/data/field/text.cpp b/src/data/field/text.cpp index da4f7e79..c7811034 100644 --- a/src/data/field/text.cpp +++ b/src/data/field/text.cpp @@ -99,7 +99,7 @@ void TextStyle::checkContentDependencies(Context& ctx, const Dependency& dep) co template void reflect_layout(T& handler, const TextStyle& ts) {} template <> void reflect_layout(GetMember& handler, const TextStyle& ts) { - REFLECT(ts.layout); + REFLECT_N("layout", ts.layout); if (ts.layout) { REFLECT_N("content_width", ts.layout->width); REFLECT_N("content_height", ts.layout->height);