Welcome,
Guest
. Please
login
or
register
.
May 10, 2026, 12:10:26 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How do i get multiple lines in " Control - Simple Input Field " example ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do i get multiple lines in " Control - Simple Input Field " example ? (Read 3134 times)
Sahkan
Jr. Member
Thank You
-Given: 9
-Receive: 0
Posts: 74
How do i get multiple lines in " Control - Simple Input Field " example ?
«
on:
May 12, 2014, 04:46:16 AM »
I'v wrote in the " Max lines " box 30 .
But it shows the lines properly only after i deselect the input area, when i type it's like long endless line, how do i fix it ?
Logged
Sahkan
Jr. Member
Thank You
-Given: 9
-Receive: 0
Posts: 74
Re: How do i get multiple lines in " Control - Simple Input Field " example ?
«
Reply #1 on:
May 12, 2014, 05:24:20 AM »
Ok i'v got it, in the UIInput there is this line :
if
(
label
.
multiLine
&&
!
ctrl
&&
label
.
overflowMethod
!=
UILabel
.
Overflow
.
ClampContent
&&
validation
==
Validation
.
None
)
{
Insert
(
"
\n
"
)
;
}
So i had to change the overflow to other than ClampContent .
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How do i get multiple lines in " Control - Simple Input Field " example ?