Menu

UITableView GetRowHeight event

Chris
2015-06-01
2015-06-15
  • Chris

    Chris - 2015-06-01

    Hi Babak
    I am using the latest release from SVN whereby the GetRowHeight is CGFloat. When i double click on the event, the parameter for the event is var RowHeight : single. Is this correct.
    Another observation, when it is release in 32 bit mode, the row height of each table item is correct. When release in 64 bit mode, the row height is not changed. it is compressed.

    Please help

    thanks
    chris

     
  • Sebastian Zierer

    CGFloat maps to Single when compiling in 32bit mode, and to Double when compiling in 64bit mode. The RowHeight parameter must use CGFloat, too. But if Delphi doesn't insert that correctly, then we may have to add a workaround.

     
  • Chris

    Chris - 2015-06-01

    Under 64 bits, the row height is not adjusted. How to do a workaround it? Cast it?

     
  • Sebastian Zierer

    I've changed the event so that it now uses single on 32 and 64 bit.

     
  • NetGuy

    NetGuy - 2015-06-14

    Does this fix the issue. or we need a workaround?

     
  • Sebastian Zierer

    This should fix this issue. Please let us know if it does not.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.