I am a newbie to Ventuz PLE software and i need to create a input field so the user can input text in any length that auto fit and auto scaled to rectangle.
is there any idea how to do that?
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
AutoFit and autoscale the Text
Moderator: Support
Re: AutoFit and autoscale the Text
If you bound the Rectangle's Size X property to the Block Text's BoudingBoxWidth property, the rectangle will grow as you enter text. This works as-is if your BlockText's TextAlignment and LineAlignment are set to Center.
Otherwise, if you use Near for TextAlignment you will need to use a Float Expression to control the position of the rectangle:
1. Add an axis in front of your rectangle
2. Add a Float Expression and attach the rectangle's Size X to the A input
3. Use "A/2" as the Expression
Otherwise, if you use Near for TextAlignment you will need to use a Float Expression to control the position of the rectangle:
1. Add an axis in front of your rectangle
2. Add a Float Expression and attach the rectangle's Size X to the A input
3. Use "A/2" as the Expression
-
- Posts: 45
- Joined: 07 Jan 2017, 14:02
Re: AutoFit and autoscale the Text
Thanks man