Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect height expansion when using [TextArea(1, 10)] #26

Open
rakkar1974 opened this issue Apr 6, 2018 · 3 comments
Open

Incorrect height expansion when using [TextArea(1, 10)] #26

rakkar1974 opened this issue Apr 6, 2018 · 3 comments
Labels

Comments

@rakkar1974
Copy link

[Input] public string key = string.Empty;
[TextArea(1, 10)] [Input] public string[] inputs = new string[0];
[Output] public string output;

This only happens while the left side of that node window is clipped.
http://www.poleaxe-games.com/xnode/xNodeClip.png

@Siccity Siccity added the bug label Apr 7, 2018
@Siccity
Copy link
Owner

Siccity commented Apr 7, 2018

Hmm, not sure why this is happening. Apparently only happens to [TextArea] if there's text in it, and depends on how far out of view the node is
2018-04-07_12-02-34

Edit: It seems like instead of matching height to fit the text, it adds a whole line's height expansion per letter, until it reaches MaxLines specified in [TextArea]

@lbandy
Copy link

lbandy commented Feb 28, 2020

Hi guys, great plugin, I'm really enjoying the possibilities with it.
I was just wondering if there's any update on this issue?
Thanks a lot!

@cr4yz
Copy link

cr4yz commented Jan 4, 2021

Could this be a bug in Unity itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants