I find AutoTextSizeLabel very useful... I am wondering... is there something similar for buttons? Or, how could I have different textsize on buttons according to the size of the button and the resolution of the device?
Thanks for any help
Massy
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...
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...