InputRoll - center text in cell
This commit is contained in:
parent
fb4b4f4e34
commit
45212bf0f2
|
@ -622,7 +622,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
continue;
|
||||
}
|
||||
string text;
|
||||
var point = new Point(col.Left.Value + xPadding, RowsToPixels(i));
|
||||
var point = new Point(col.Left.Value + xPadding, RowsToPixels(i) + CellPadding);
|
||||
|
||||
Bitmap image = null;
|
||||
if (QueryItemIcon != null)
|
||||
|
@ -632,7 +632,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
if (image != null)
|
||||
{
|
||||
Gdi.DrawBitmap(image, new Point(col.Left.Value, point.Y + CellPadding),true);
|
||||
Gdi.DrawBitmap(image, new Point(col.Left.Value, point.Y + CellPadding), true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue