Text in the grid does not displayed correctly when DPI is 250% in my 4k Monitor.

Hi,

I set my monitor to 250 DPI and generate grid but text in grid do not displayed correctly.
I used ResizeToFit for RowHeights and ColWidths to adjust columns and width, height adjusted correctly but not text.
Please give me an advice.

Syncfusion::Windows::Forms::Grid::Grouping::GridGroupingControl^  ggcSizeInfo;
this->ggcSizeInfo->VersionInfo = L"6.303.0.6";

this->ggcSizeInfo->TableModel->RowHeights->ResizeToFit(Syncfusion::Windows::Forms::Grid::GridRangeInfo::Table(), Syncfusion::Windows::Forms::Grid::GridResizeToFitOptions::NoShrinkSize);
this->ggcSizeInfo->TableModel->ColWidths->ResizeToFit(Syncfusion::Windows::Forms::Grid::GridRangeInfo::Table(), Syncfusion::Windows::Forms::Grid::GridResizeToFitOptions::NoShrinkSize);


3 Replies 1 reply marked as answer

BT Balamurugan Thirumalaikumar Syncfusion Team January 15, 2021 03:19 PM UTC

Hi Edward, 

Thank you for using Syncfusion products. 

We have checked the reported query but unfortunatelt we could not able to reproduce it at our side. Please confirm us whether DPIAware is set in your application or not.   

Please refer the below UG documentation link 
//To enable DpiAware in GridGroupingControl 
this.gridGroupingControl1.TableControl.DpiAware = true; 


Please let us know, if still this issue exists at your end. 

Thanks & Regards, 
Balamurugan Thirumalaikumar  


Marked as answer

EC Edward Choi January 15, 2021 04:20 PM UTC

Thank you for your response.

I set DpiAware to true. this->ggcSizeInfo->TableControl->DpiAware = true;
I create Forms with Managed c++. Is this any difference ?




BT Balamurugan Thirumalaikumar Syncfusion Team January 18, 2021 03:34 PM UTC

Hi Edward, 
 
Thanks for the update. 
 
There is no difference between C# and C++ sample.we have checked the reported issue with external monitor(250 DPI) and we could not reproduce the issue at our end. Can you please provide us the issue reproducible sample. So that, we could analyse further to provide you a better solution at the earliest 
 
Balamurugan Thirumalaikumar  
 


Loader.
Up arrow icon