Hello Miles,
From the images you posted it looks like you have different DPI settings on both machines.
Unfortunately some of our UI controls currently doesn’t draw itself correctly when the DPI is set to more than 96.
One other customer with the similar problem suggested a workaround that may be is suitable for you too.
NForm form = new NForm();
//Depending of the AutoScaleMode property of the form you can evaluate scale factor as follows
if (form.AutoScaleMode == AutoScaleMode.Font)
{
if (form.AutoScaleDimensions.Width > 6)
{
m_IsLargeFont = true;
m_ScaleFactorX = form.AutoScaleDimensions.Width / 6;
m_ScaleFactorY = form.AutoScaleDimensions.Height / 13;
}
}
if (form.AutoScaleMode == AutoScaleMode.Dpi)
{
if (form.AutoScaleDimensions.Width > 96)
{
m_IsBiggerDPI = true;
m_ScaleFactor = form.AutoScaleDimensions.Width / 96;
}
}
After the scale factors are evaluated you should set the size of the entry box:
private void ScaleEntryBox(NEntryBox entryBox)
{
if (m_IsLargeFont)
{
int height = (int)(entryBox.Height * m_ScaleFactorY);
int width = (int)(entryBox.Width * m_ScaleFactorX);
entryBox.Height = height;
entryBox.Width = width;
}
if (m_IsBiggerDPI)
{
int height = (int)(entryBox.Height * m_ScaleFactor);
int width = (int)(entryBox.Width * m_ScaleFactor);
entryBox.Height = height;
entryBox.Width = width;
}
}
I hope this works for you.
Please, let us know if the problem persist.
Best Regards,
Nevron Support Team