Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bitwise

Pages: [1]
1
NGUI 3 Support / Re: I have a problem with activating widgets
« on: March 22, 2017, 09:51:34 PM »
I reverted UILabel.OnFontChanged().
It seems to work.

2
NGUI 3 Support / Re: I have a problem with activating widgets
« on: March 22, 2017, 12:50:33 AM »
I can't see your screenshots. but I have similar UILabel problem.
Sometimes text is placed at random position and with random styles.

Recently, I've updated Unity3D (5.4.x -> 5.5.2) and NGUI 3.11.2 at the same time.  :-[
I didn't check whether the problem is caused by Unity or NGUI yet.

3
NGUI 3 Support / UIInput problem on Korean character.
« on: February 23, 2014, 09:02:30 PM »
Hello,

I've updated NGUI from 3.0.9f7 to 3.5.1.
After update, I cannot input korean character more than a character.
 
I found below IF condition in UILabel.cs

  1. // There seems to be an inconsistency between IME on Windows, and IME on OSX.
  2. // On Windows, Input.inputString is always empty while IME is active. On the OSX it is not.
  3. if (string.IsNullOrEmpty(ime) && !string.IsNullOrEmpty(Input.inputString))

I examined Input variables, I typef 4 keys in sequence, 'ㄱ', 'ㅏ', 'ㄴ', 'ㅏ'

UIInput.text -> Input.compositionString : Input.inputString
'ㄱ' -> "ㄱ" : "" --- typed 'ㄱ'
'가' -> "가" : "" --- typed 'ㅏ'
'간' -> "간" : "" --- typed 'ㄴ'
'나' (wrong! '가나' is right) -> "나" : "가" --- typed 'ㅏ'

There is a case Input.compositionString != null && Input.inputString != null.
So I removed ime condition.

  1. // There seems to be an inconsistency between IME on Windows, and IME on OSX.
  2. // On Windows, Input.inputString is always empty while IME is active. On the OSX it is not.
  3. if (!string.IsNullOrEmpty(Input.inputString))
  4.  

It works. I don't know any side effects on this change.

Thanks.

4
NGUI 3 Support / Re: How can I set line space on label
« on: November 13, 2013, 11:18:03 PM »
Thank you! ;)

5
NGUI 3 Support / How can I set line space on label
« on: November 13, 2013, 06:40:54 AM »
Previous, I have several UIFont prefabs each has different line space. (Normal Font -> spacing 0,0, Normal Font (Multiline) -> spacing 0,8)
I cannot found something on label equivalent of spacing on font (NGUI 3.0.5)

How can I set line space on multi-line label?

6
Hi all.

I've seen similar problem in my project. Sometimes label text font is broken. (Korean dynamic font)
The broken text is persistant unless reassigning text.
I hope that problem will be solved soon.

Pages: [1]