Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1772

Summary: Bad fmx text clip
Product: TeeGrid for Delphi Reporter: david berneda <david>
Component: GridAssignee: david berneda <david>
Status: CONFIRMED ---    
Severity: major    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: bad fmx text clip

Description david berneda 2017-02-07 10:23:14 EST
Created attachment 708 [details]
bad fmx text clip

Happens in iOS

(Note: not tested with Android, Windows etc)

It seems the fmx canvas clipping of text (to the cell rectf boundaries) is not working correctly.

When we need to paint just one line of text, and the string contains CRLF (more than one line of text), some small portion of the second line of text is visible in the cell.

Note: "TeeGrid1.Rows.Height.Automatic:= True" enables displaying all lines of text instead of a single one, but this is not the default

See attached pic for visual effect.

The problem can be reproduced running this demo:

demos\FireMonkey\Themes