[FREE] TextEnhancer - Enhance Text Formatting in Your App

About

Introducing TextEnhancer, the ultimate extension for enhancing text formatting in your App Inventor projects! With TextEnhancer, you can effortlessly add advanced text features to your app, making it more dynamic and engaging for your users.

Blocks

SetTextJustification:

  • Set or unset text justification for the specified label. Justification values: true to justify, false for no justification.

SetTextScrollable:

  • Enable or disable text scrolling for the specified label. true to enable scrolling, false to disable scrolling.

SetMaxLines:

SetLetterSpacing:

SetTextShadow:

  • Set a shadow effect for the text of the specified label. Parameters: radius (float), dx (float), dy (float) - shadow offset, color (String) - shadow color.

SetTextPadding:

  • Set the padding around the text of the specified label. Parameters: left, top, right, bottom (int) - padding values in pixels.

SetTextGravity:

SetTextStrikethrough:

  • Set or unset the strikethrough effect for the text of the specified label. true to apply strikethrough, false to remove strikethrough.

SetTextSelectable:

  • Enable or disable text selection for the specified label. true to enable text selection, false to disable text selection.

HighlightText:

  • Highlight specified text within the label with the given background color. Parameters: text (String) - text to highlight, backgroundColor (String) - color in hexadecimal format.

SetTextTransformation:

  • Set text transformation for the specified label. Transformation values: 0 = None, 1 = Uppercase, 2 = Lowercase.

SetTextWrapping:

  • Enable or disable text wrapping for the specified label. true to enable text wrapping, false to disable text wrapping.

SetTextEllipsizing:

  • Set text ellipsizing for the specified label. Ellipsizing values: 0 = None, 1 = Start, 2 = Middle, 3 = End.

ScaleTextSize:

  • Scale the text size of the specified label based on the length of the text. Parameters: minTextSize , maxTextSize (float) - minimum and maximum text size in scaled pixels, scaleStep (float) - scaling factor.

SetTextClipping:

  • Enable or disable text clipping for the specified label. true to enable text clipping, false to disable text clipping.

SetTextMasking:

  • Set text masking on a TextView with dots within the specified range. Parameters: start , end (int) - start and end indices of the range to mask with dots.

SetMarqueeEnabled:

SetHtmlEnabled:

Downloads

TextEnhancer.aix (9.6 KB)

donations are welcomed. Thank you. :smiley:

5 Likes

Don't we have this and more (for free...) with this ?

Added 2 new blocks,
Extension is now available for free.

1 Like