Cannot find TextBox TextAlignment block

Hi. I am making a word processor. I have to align the text. I cannot find the TextAlignment block. So how do I align textBox text with blocks? can you please please help me with this?

TextAlignment is only available in the Designer.

image

Captured from the App Inventor documentation.

1 Like

then how can I align text with blocks?

I'm afriad there is not a way to do this.

You can add a feature request issue in GitHub.

1 Like

I have submitted the issue. Thanks :slight_smile:

1 Like

You can use the CompCreator extension to set the TextAlignment property of a textbox:

image

3 Likes

Great.

@AyProductions, you can temporarily use Tim's solution, until there is a built-in block way.

1 Like

lol :slight_smile: - it could be a long wait.....

3 Likes

It could be. @preetvadaliya already requested to work on this.

1 Like

@TIMAI2 thanks :slight_smile: it works!

@Gordon_Lu yeah i saw that :wink:

and i also requested fontUnderline property in GitHub issue!

1 Like

@TIMAI2 I think TextAlignment is not that much important and makes sense while you are taking input from the user.

1 Like

But I saw your Github reply. My app is a word processor. It needs text alignment :slight_smile:

Then use @TIMAI2 solution.

1 Like

Yes his solution works. So will you introduce that block, or not??

Wait for Evan's reply on issue

1 Like

Ok sure. Will he reply on Github or this community??

On GitHub or maybe here also.

1 Like

Very interesting, comp creator is not only used to create components but also to integrate existing ones

1 Like

The Set Property of Component feature is just awesome :smiley:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.