- Home /
Help with GUIstyles between platforms
The image here shows a small problem im having. The two images on the left are screenshots from an android tablet the two on the right are in the editor on windows.
for the flags box im using GUILayout.BeginVertical ("", "box"); then GUILayout.BeginScrollView ();
My button GUIStyle is the same colour for its 'normal' state as the box but on android when the "x" button is smaller than the name beside it there is a small darker space that appears.
The settings box is just a box with labels and horizontal sliders but on android the box background isnt being used, it is much darker than it should be.
the font comes out quite different on android as can be seen
The final problem is the outlines of the box. its being displayed properly in the editor or a web build but it looks really bad on a tablet. Its a simple 8x8 pixel texture with the guistyles background set to top = bottom = left = right = 4
any help with any of these problems would be much appreciated, thanks!
http://wiki.etc.cmu.edu/unity3d/index.php/Unity_font_issue_on_iOS/Android found this about fonts, i guess ill need to set up a different font for each different use
Answer by gheeler · Feb 22, 2013 at 03:21 PM
All the problems other than the font were sorted by changing the import settings for the textures from compressed to true colour. Ive yet to test the font but think if i set up a each font i need in unity it should look better
I am assu$$anonymous$$g by now you solved your font problem? I believe the solution is this: http://answers.unity3d.com/questions/526561/why-are-unity-4x-dynamicrich-fonts-not-rendered-co.html#answer-895207
Your answer
![](https://koobas.hobune.stream/wayback/20220613093125im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
GUIStyle for GUI.label doesn't work for android? 1 Answer
Mipmapping on Tablets 1 Answer
Assigning UV Map to model at runtime 0 Answers
Streamreader read .txt file with Android 0 Answers
Saving and loading to/from Android 1 Answer