Android Question AutoTextSizeLabel for buttons?

tremara1

Active Member
Licensed User
Longtime User
I have been playing around with designer scripts and was looking at how to keep the text size relative to a view resize. I got hold of Erel's AutoTextSizeLabel and created a small class from it. I have tested it and it seems to work. I have added a variable resize amount. You are welcome to use it if you want. the link is https://www.dropbox.com/s/f3gy30vlg0xv431/resize.zip?dl=0
There is a small example, it is far from perfect but might help...
 
Upvote 0

Rusty

Well-Known Member
Licensed User
Longtime User
Your linke to Dropbox isn't valid any longer, can you send code?
Thanks,
Rusty
 
Upvote 0

Roger Daley

Well-Known Member
Licensed User
Longtime User
I have been playing around with designer scripts and was looking at how to keep the text size relative to a view resize. I got hold of Erel's AutoTextSizeLabel and created a small class from it. I have tested it and it seems to work. I have added a variable resize amount. You are welcome to use it if you want. the link is https://www.dropbox.com/s/f3gy30vlg0xv431/resize.zip?dl=0
There is a small example, it is far from perfect but might help...

Tremara,
Perhaps you could post in Code Snippets. It sounds useful.

Regards Roger
 
Upvote 0
Top