UnityNativeEditBox icon indicating copy to clipboard operation
UnityNativeEditBox copied to clipboard

Text is tiny

Open Scraft opened this issue 5 years ago • 2 comments

I tried using this with TextMesh Pro, and the text appears tiny (like a few pixels high, completely not readable). I am seeing a value of 0.174418598 as the pixelsPerUnit size, so my size 15 text ends up being sent to setFontSize as a very small number.

Do you have any thoughts as to the correct way to address this?

Scraft avatar Dec 02 '19 17:12 Scraft

Hi! Sorry for the long delay, been away on vacation.

I haven't tried this with TextMeshPro, did you alter the code to get it to work ? And is a normal textmeshpro input field working as expected?

The plugin never uses the unity components, it adds a os native element on top of unity, and then adds back the result to unitys input component after it lost focus.

nostek avatar Dec 18 '19 15:12 nostek

I have tried to switching away from TMP to using native Unity and it seems to be going a bit better, so please ignore this for now whilst I investigate further.

Scraft avatar Dec 23 '19 16:12 Scraft