Grid Control row height of empty rows |
Post Reply |
Author | |
Focus
Newbie Joined: 12 November 2024 Status: Offline Points: 4 |
Post Options
Thanks(0)
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
|
|
Focus
Newbie Joined: 12 November 2024 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
The solution seems to be
Set the DefaultRowFreeHeight to 25 Set the FreeHeightMode to True |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |