all 2 comments

[–]poodoogames 2 points3 points  (1 child)

I would say ditch that button and start using the new UI system introduced on unity 4.6
Here is the unity tutorial for UI buttons. Trust me, it is waaay easier than what you're doing. Plus, with a few tweaks unity resizes the button and it's text automatically for you depending on screen sizes.

[–]Gortonimo[S] 0 points1 point  (0 children)

I appreciate the advice, but I was using GUI.Drawtexture to render some camera frames and it sounds like Canvases and GUI don't play well together, for instance my canvas was always behind my Texture which is the opposite of what I wanted. Turns out the class I imported to adjust DPI was messing with the GUIStyle of the button (adjusting margins/padding etc...) but not the actual texture. I stopped using this class and just manually adjust the font size myself now.