Hello, there, I'm starting to work with the textfield plugin. I was just writing some basic text and setting the autoheight and autowidth attributes to work. I have not set any value for the plugin's width or height, so autosizing should work.
I can't seem to make it work, It takes the size of a very limited rectangle in the center of the screen, but the rest of the text doesn't show neither horizontally nor vertically. The only way I have found to make all the text appear on screen is by setting Vcenter attribute to true. This yields all of the text showing on screen but going outside of the plugin's background.
As far as I understand... autosizing is NOT WORKING.
¿Any ideas?
Here's the code, It's only a grid preview so you can copy it directly and see for yourselves.
Thank you very much!
<krpano version="1.16.9" preview.type="grid(cube,10,10,400,0xF00000,0xFFFFFF) ">
<layer
name="text"
url="plugins/textfield.swf"
align="center" x="10" y="10"
html="Meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee asdasd[br]en[br] asdasd [br]wiii[br]wiii[br]wiii[br]wiii[br]wiii[br]wiii[br]wiii[br]wiii[br]wiii[br]wiii[br]wiii[br]wiii[br]wiii"
css="font-family:Times new roman; font-size:30px; color:#0F0000;"
autowidth="auto"
autoheight="auto"
vcenter="true"
padding="2"
wordwrap="false"
selectable="false"
embeddedfonts="false"
background="true"
backgroundcolor="0xFFFFFF"
backgroundalpha="1.0"
border="false"
bordercolor="0x000000"
borderalpha="1.0"
borderwidth="1.0"
roundedge="0"
shadow="0.0"
shadowrange="4.0"
shadowangle="45"
shadowcolor="0x000000"
shadowalpha="1.0"
textshadow="0.0"
textshadowrange="4.0"
textshadowangle="45"
textshadowcolor="0x000000"
textshadowalpha="1.0"
onautosized=""
/>
</krpano>
Display More