Rotation and also TableViewMail

Can you tell me how to properly get toolbars and tableviews to resize properly when rotating portrait/landscape? Also, what if I use the steps in the custom cells demo to make my own tableview and want the labels to align properly when rotating what is the best way to do that?



Thanks,

Brent

Dear Mr. Shelton, 


Which effects are you noticing when rotating the form? To create your own tableview you could take a look at the tableview mail class (TTMSFMXNativeUITableViewMail). In this class are 2 imporant method overrides to further customize tableview cells:

    procedure DoItemCreateCell(Sender: TObject; var ACell: UITableViewCell; AItemStyle: TTMSFMXNativeUITableViewItemStyle; ASection, ARow: Integer); override;
    procedure DoItemCustomizeCell(Sender: TObject; ACell: UITableViewCell; AItemStyle: TTMSFMXNativeUITableViewItemStyle; ASection, ARow: Integer); override;

Kind Regards, 
Pieter

Pieter Scheldeman2015-09-24 08:43:10