Welcome,
Guest
. Please
login
or
register
.
February 12, 2025, 05:48:50 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
BUG: UIPopupList doesn't show lists with one item
« previous
next »
Print
Pages: [
1
]
Author
Topic: BUG: UIPopupList doesn't show lists with one item (Read 2596 times)
Wahooney
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 31
BUG: UIPopupList doesn't show lists with one item
«
on:
December 04, 2012, 04:55:17 AM »
The title says it all, when a UIPopupList has one item it doesn't show anything, which I guess is fine when you're using it as a drop list, but as a menu item it is pretty much an ass ache.
Logged
Fbary
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 25
Re: BUG: UIPopupList doesn't show lists with one item
«
Reply #1 on:
December 09, 2012, 09:59:59 AM »
UP for this post, same problem here. If UIPopUpList has just 1 item in its list, he doesn't show it. Also it's not selected when the main button "popup menu" is clicked. So if you have just 1 item it can be clicked in any way. =(
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: BUG: UIPopupList doesn't show lists with one item
«
Reply #2 on:
December 09, 2012, 11:24:27 AM »
Line 443 of UIPopupList.cs -- change "> 1" check to be "> 0".
Logged
Fbary
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 25
Re: BUG: UIPopupList doesn't show lists with one item
«
Reply #3 on:
December 09, 2012, 11:39:55 AM »
Great! (as ever) =P
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
BUG: UIPopupList doesn't show lists with one item