Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by waxx · Jun 20, 2014 at 10:53 AM · guitextfieldguistyle

GUI custom textfield cursor rendering

Hey guys I have problems with custom textfield guistyle in Unity. I put a simple background into it, custom font and yet there seems to be a problem with how the cursor is rendered (wrong position). Anyone has any ideas?

alt text

untitled.png (56.1 kB)
Comment
Add comment · Show 6
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image PouletFrit · Jun 20, 2014 at 12:34 PM 0
Share

it could be many thing: the border, margin, padding, fixed height, alignement, the rect that you specify when using it... We lack information to help you out.

You could also just play with the fixed height to "align" the text...

avatar image aisenai · Jul 03, 2014 at 07:45 AM 0
Share

This is also happening to me, and I've seens it on OSx. I've tried to play with all the options but it does not change anything. This issue has been introduced with new version of unity (prob 4.5) since it does work with older ones. Perhaps we should write to support.

avatar image David-Berger ♦♦ · Jul 23, 2014 at 03:32 PM 0
Share

@waxx @aisenai, there are different ways to create this kind of setup as PouletFrit mentioned. Can you send me a project (davidbe@unity3d.com) which includes the resources needed to identify the problem and we'll have a look.

Also, have you tried it with any other (newer) versions of unity. 4.5.2 is out now: http://unity3d.com/unity/download

avatar image David-Berger ♦♦ · Jul 29, 2014 at 02:40 PM 0
Share

@Usopp I’m sorry but your message “I have the same problem. $$anonymous$$y version of unity 4.5.1. All worked fine in 4.3.4. Does 4.5.2 solve the problem?” vanished while converting it to a comment.

The same offer to you: could you send me a project (davidbe@unity3d.com) which includes the resources needed to identify the problem and I’ll have a look.

avatar image Usopp · Aug 02, 2014 at 01:52 AM 0
Share

Sorry, I can't. $$anonymous$$y internet connection is to slow and expensive now. It's a real problem to me to download a new Unity version or send you a project

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by David-Berger · Aug 11, 2014 at 01:52 PM

It is a bug. Please send a bug report (http://issuetracker.unity3d.com/) containing the procedure how to reproduce the bug on which platform you work on and the Unity versions you encountered the problem. Do not forget to add a simple project and the steps to reproduce the bug so that QA can reproduce the bug.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image David-Berger ♦♦ · Oct 16, 2014 at 06:51 PM 0
Share

The bug was resolved and the fix is available in patch-release 4.5.5p1 - http://unity3d.com/unity/qa/patch-releases

avatar image
0

Answer by Zogg · Sep 11, 2014 at 12:47 AM

Same here. Seems to come from the Font Size property. Found a workaround on the forums :

"As a workaround, you can generate a new font that has the matching size for the style's fontSize and use that for TextArea and TextField..." (...and set the font size in the GUIStyle to 0)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

25 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Single-line GUI.TextField with custom GUIStyle 3 Answers

Background of GUI.TextField disappears when using a GUIStyle 2 Answers

How to speed up TextField input? 0 Answers

Input not registering while TextField is selected 3 Answers

Lock a textarea/textfield for editing 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges