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 - TeeGrid fonts: no ParentFont property, size not the same as Delphi's TFont.Size, no High DPI scaling
Summary: TeeGrid fonts: no ParentFont property, size not the same as Delphi's TFont.Si...
Status: RESOLVED FIXED
Alias: None
Product: TeeGrid for Delphi
Classification: Unclassified
Component: Grid (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: david berneda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-30 05:35 EDT by Ronald
Modified: 2019-05-06 11:23 EDT (History)
2 users (show)

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


Attachments

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