This is a migrated thread and some comments may be shown as answers.

Header and Row sizes

1 Answer 74 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 2
Iron
Veteran
Iron
Rob asked on 08 Jul 2020, 01:49 AM

Hi Guys

The Grid looks perfect in size and style in the VS designer.. but when the app is run, the rows and the headers almost double in size. I am not even populating the grid with data and the header is already double in size.

Of course I could manually adjust all the row heights.. but I am guessing I have something set wrong with is causing this? ( some scaling or DPI option?)

 

Image attached is starting the app and having it side by side with the VS designer.

Any thoughts?

Many thanks

Rob

 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 08 Jul 2020, 04:36 AM

Hello, Rob,

RadGridView offers a property that controls the height of the column headers. Please have a look whether the TableElement.TableHeaderHeight is set at run time. It is expected to affect the header row's height. It is also important to know whether the AutoSizeRows property is enabled/disabled.

As to the scaling, the grid control doesn't seem to be increased in size. Only the header row is enlarged. Are you running the application at DPI scaling higher than 100%? Is you application DPI-aware? Thank you in advance for your cooperation.

I am looking forward to your reply.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
GridView
Asked by
Rob
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or