Author Topic: Popup List Padding issue between SD/HD  (Read 2915 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
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:

  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.