Welcome,
Guest
. Please
login
or
register
.
May 05, 2026, 02:34:12 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Popup List Padding issue between SD/HD
« previous
next »
Print
Pages: [
1
]
Author
Topic: Popup List Padding issue between SD/HD (Read 2910 times)
Tim
Guest
Popup List Padding issue between SD/HD
«
on:
May 04, 2012, 11:25:54 AM »
I built everything in HD and it works great, but in SD it looks like it's removing too much of the Y Padding in the Popup list. Also if in iPad 3 res, it looks like it's adding too much Y Padding. Anyone else experience this?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Popup List Padding issue between SD/HD
«
Reply #1 on:
May 04, 2012, 12:24:58 PM »
In UIPopupList, line 456 it gets the padding:
Vector4 bgPadding
=
mBackground
.
border
;
You can try multiplying it by the pixel size (atlas.pixelSize) or its inverse (1f / atlas.pixelSize), and see if that helps.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Popup List Padding issue between SD/HD