Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1485
Adjust row height when FontSize changes?
posted

Hi,

One of the requirements of my application is to let the user change the font size on the fly.  I user a slider for the font size and the FontSize property of the window is bound to its value.  This works great (almost), since the controls all take that value.The ribbon, labels, the dock manager, everything resizes correctly.  Different story for the XamDataGrid.  The column headers resize correctly (i.e. if I increase the font size, the headers' height increases as well).  This does not work for the actual record rows, however.  The font size increases, but the rows remain at the same height, chopping off the characters displayed in the cells.  I tried setting CellHeight to Auto, but that property only accepts numeric values.

Is there any way to get the record rows to increase their height when the font size changes??

Thanks,
Michel

Parents
  • 6867
    posted

    Hi Michel,

    I tested this out. It appears that the record heights adjust appropriately if the grid's AutoFit property is set to true, but not otherwise.  I suggest you report this issue to our Developer Support group so that it can be addressed and you will be notified when it is resolved.  Sorry for the inconvenience.

    Josh

Reply Children