Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Markov on November 09, 2013, 11:59:57 PM
Title:
UIPopupList questions
Post by:
Markov
on
November 09, 2013, 11:59:57 PM
Hi.
1st question - how can I set popupList background width?
from this:
(https://pp.vk.me/c310726/v310726274/60fa/01yaEV8dXT4.jpg)
to this:
(https://pp.vk.me/c310726/v310726274/6101/EyxE1fsk3C0.jpg)
and the 2nd - how can I fix this?
(https://pp.vk.me/c310726/v310726274/6108/XzwIlO2vU0k.jpg)
it occurs after localization in a few languages
Title:
Re: UIPopupList questions
Post by:
ArenMook
on
November 10, 2013, 07:05:06 AM
That's actually a bug. You can fix it by opening line 660 of UIPopupList.cs:
x
=
Mathf
.
Max
(
x, labelHeight
)
;
Replace it with:
x
=
Mathf
.
Max
(
x, lbl
.
printedSize
.
x
)
;