I'm having troubles (center) aligning cells in my fmxgrid.
This seems to work just fine:
grd.RandomFill;
grd.Columns[2].HorzAlignment := TTextAlign.Center;
grd.Columns[3].HorzAlignment := TTextAlign.Center;
But if I add a comment or Object the Alignment is changed to Leading
grd.Objects[2,2] := TObject(1);
grd.Comments[3,3] := 'This is a comment test';
Furthermore the Comment isn't shown as it should be.
It's to small for the text (not autosizing).
Thanks...