When you create an instance of an object in runtime, it takes all properties from the first (default) instance of this object in your project. This default instance can be on this layout, or on any other layout.
If you don't add this object to any layout, then there will be no default instance to copy the properties from.
So, make sure you have at least one instance of this Text object added to any layout. What I usually do is I create an unused layout "Assets" and store all my default instances there.