LabelTools Extension

SetTextIsSelectable: Allows you to set a Labels Text to Selectable(see picture below) so the user can Copy the Text from the Label.
If selectAllOnFocus = true, all of the Label’s Text will be highlighted.
If selectAllOnFocus = false, only the word that was selected will be highlighted.

SetHighlightColor: Allows you to set the highlight color for the selected text.

SetLineSpacing: Allows you to set the space between lines. Standard is 1.

Block Usage:

Output:

Video:

Let me know what you think!

.aix & .aia:
com.appybuilder.kennicholsandroid.LabelTools.aix (6.7 KB)

LabelTools.aia (7.6 KB)

36 Likes

!I like this​:grinning: Great extension

2 Likes

Congrats
Nice extension

1 Like

I added a couple more methods and merged my LineSpacing Extension with it as well.

1 Like

It’s means another extension

I merged it with this one.
I am working on the .aia and a video now

2 Likes

Oh Nice work

1 Like

I updated the .aia and posted a video.

4 Likes

An awesome extension while more work is done this is what I was looking for
:heart_eyes: You are wonderful

2 Likes

Another GREAT extension! You’re a :star:!

3 Likes

Great Job.

Any way to apply to all labels the selectable property at one step?

Thanks.

You could do something like this:
Screenshot_20200826-180749_Chrome

3 Likes

Hi. Thanks for fast reply… Yah it may works if there some kind of selector (maybe a * ) … otherwise as you show on image need to list all labels… Imagine i want 100 labels each with different names…well i will give it a try.

Many thanks.

1 Like

Without a list of Labels, I’d need to search each screen for Labels. This would be very time consuming and freeze the app until the search finished. In other words, a list of Labels is the best possible way.

1 Like

Hi @Ken,
I found this extension amazing.
But I think adding the color property to the select points in SetHighlightColor will help more.
The HighlightColor and the Drag Select point is not matching one another more times.
I mean:
component_method

So that we can choose required color for both Highlight and thumb color which matches the background.
I am not a extension developer. just a user. :smile:
Thank You.

1 Like

Can you give us the source code of this?

how to use dynamic components extension like any lable

When any label … + If Ts the component Is dynamic get component

when I remove this extension from my app it fails to export
I can only export again when its added
even if I remove all the screens and blocks