Text entry alignment - Forum

Forum Navigation
You need to log in to create posts and topics.

Text entry alignment

Hello,

When using a Text Entry object and I want to align the text inside the object to be centered via Vertical height of the box how can you do that if possible?

Thanks

 

 

@krakerman

See plugin FileUtils (Marije Ljolje) = dgNeoEdit = Create editable text input field. You can set text alignment, font format, subroutine on TAB, character type, case, characters for password (if you choose this character type).

Interesting but don't see alignment for height within the object as it's the same as VNW default left, right and center I need to center the text within the rectangle via height of the object text box

@krakerman

I have not tried this command, I was only guided by the description of the command.

You can try adding the desired number of line breaks for height centering.

@krakerman

When using a Text Entry object and I want to align the text inside the object to be centered via Vertical height of the box how can you do that if possible?

One trick that was discussed in the old (NeoBook) forums was to use a Text object that ...

- is the same size as your TextEntry object (say TextEntry1)
- is positioned to cover the TextEntry object (same right and depth numbers) and Text object is Brought to Front
- has at its content [TextEntry1]
- is assigned the desired properties for Font, Color, Margins etc.

Now, when user enters values in TextEntry, the Text object mirrors the values in the desired format.

You might play around with this idea to see if it meets your needs.

Vadim and Krakerman have reacted to this post.
VadimKrakerman