Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Tim on May 04, 2012, 11:25:54 AM

Title: Popup List Padding issue between SD/HD
Post by: Tim 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?
Title: Re: Popup List Padding issue between SD/HD
Post by: ArenMook on May 04, 2012, 12:24:58 PM
In UIPopupList, line 456 it gets the padding:

  1. 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.