TextBlock and Plane

I am trying to show dimensions of a box on its surface. I am using DynamicTexture for this.
When I do plane.addControl(textBlock), the size of the text is becoming proportional to the dimensions of the plane.

How to show the text with same size for all 4 sides?


Thanks in advance.

When you create the GUI, you can specify the size of the texture:

var advancedTexture = BABYLON.GUI.AdvancedDynamicTexture.CreateForMesh(plane, 512, 512); 

Instead of using 512,512 like here, you can pick size proportional to the size of your planes to compensate plane differences