Author Topic: Wrap Content With "Fixed Size Variable" Height Items  (Read 1874 times)

aammfe

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Wrap Content With "Fixed Size Variable" Height Items
« on: September 27, 2016, 11:40:04 AM »
Hi!

Can you make wrap content compatible with Items of Fixed Variable Size ?
this is what i m asking for.

--wrapContent
     --itemHeight_x
     --itemHeight_2x
     --itemHeight_3x
     --itemHeight_x
     --itemHeight_2x


 

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Wrap Content With "Fixed Size Variable" Height Items
« Reply #1 on: September 27, 2016, 09:31:16 PM »
Fixed variable size? Fixed implies constant size. Variable implies changing size. So which is it? I don't understand what you're asking.

aammfe

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Re: Wrap Content With "Fixed Size Variable" Height Items
« Reply #2 on: October 02, 2016, 02:27:21 PM »
where even rows are 100 pixels height and odd rows are 200
each 2 rows will vary, but they will always have fixed values (either 100 or 200)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Wrap Content With "Fixed Size Variable" Height Items
« Reply #3 on: October 06, 2016, 05:47:49 AM »
That's a highly custom task. You will need to create your own custom version of the UIWrapContent for that.