Android Question AutoTextSizeLabel for buttons?

tremara1

Active Member
Licensed 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...
 

Rusty

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

Roger Daley

Well-Known Member
Licensed 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
 
Top