Print Page | Close Window

Grid Control row height of empty rows

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=24522
Printed Date: 03 December 2024 at 11:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Grid Control row height of empty rows
Posted By: Focus
Subject: Grid Control row height of empty rows
Date Posted: 12 November 2024 at 9:17am
This has been true for quite some time and is still there in the latest 24.0 version but I've never gotten to the bottom of it.

The height of a grid row when it is empty is a fraction, maybe one pixel, shallower than when data has been entered into it

You can see this by creating a simple input grid and enter a bit of text

When you move down a row look at the bottom of the grid and you will see the grid lines 'jump' down

This isn't really a great problem until you want to put two grids side by side and the grid lines are at slightly different heights depending on how much data is in each grid

It's almost like when it is measuring to see how high the empty row should be it's using a non system font or not allowing for descenders or something like that  

Changing things in MeasureRow only effects rows with data not the ones without

Does anyone know how the grid control calculates the height of an empty row and is there any property I have missed that influences this ?

Thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net