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 2178

Summary: TeeGrid fonts: no ParentFont property, size not the same as Delphi's TFont.Size, no High DPI scaling
Product: TeeGrid for Delphi Reporter: Ronald <ruijs>
Component: GridAssignee: david berneda <david>
Status: RESOLVED FIXED    
Severity: enhancement CC: marc, ruijs
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description Ronald 2019-03-30 05:35:50 EDT
TeeGrid currently lacks a ParentFont property, so to set font to Windows 7 (and up) default 9 points Font Segoe UI, this needs to be done at several places (cells, headers), which is a bit cumbersome. Adding property ParentFont (default True), as in other controls, would Improve the ease of use significantly.

On my MS Surface, screen scaling is set to 175%. When setting Rows.Height.Value to 21, I would expect this value to be scaled depending on my monitor high-dpi scaling. Instead, Value is treated as a constant, resulting in too low rows with high dpi, making this property unusable in high-dpi applications.

When setting Cells.Format.Font.Size, I would expect the same size as in other Delphi controls, bu instead, fonts are much smaller. Tested with your Row_Heights VCL demo. Possibly related to high DPI?
Comment 1 marc meumann 2019-05-06 11:23:24 EDT
New property added for TeeGrid, ParentFont