I found the culprit: a text layer can’t examine its own size and publish that with its source text property.
This would be something of a recursive problem.
When I let the text layer take another layer its size, it could publish that.
This way I found out my problem sat in another nice nasty: the update of the if-then structure.
If-then-else is now a must.