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 - Bad fmx text clip
Summary: Bad fmx text clip
Status: CONFIRMED
Alias: None
Product: TeeGrid for Delphi
Classification: Unclassified
Component: Grid (show other bugs)
Version: unspecified
Hardware: All All
: --- major
Target Milestone: ---
Assignee: david berneda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-07 10:23 EST by david berneda
Modified: 2017-02-07 10:23 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
bad fmx text clip (508.39 KB, image/png)
2017-02-07 10:23 EST, david berneda
Details

Note You need to log in before you can comment on or make changes to this bug.
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