etiennepinchon / aframe-rounded

An A-Frame component to create rectangles with smooth edges.
MIT License
32 stars 10 forks source link

Cannot align text inside the box #5

Open nirajupadhyay11 opened 6 years ago

nirajupadhyay11 commented 6 years ago

Hi,

I am trying to add a text to the entity with "rounded" component. Here is what I am trying -

<a-entity rounded="width: 3; height: 1; color: #ff00ed; opacity: 0.4" text="align: left; baseline: top; anchor: left; wrapCount: 35; value: Animating color Animating color Animating color Animating color Animating color; width: 2.5" position="2 1 -3">

However, the text always appears either outside the mesh or always at the bottom.

I am not sure what could be the issue here as I have tried different combinations of align. baseline and other parameters.