Tweak some InputRoll values
- see #3708 A bit experimental, let's just see how it feels.
This commit is contained in:
parent
eaf9906741
commit
00228a1f20
|
@ -191,8 +191,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
else
|
||||
{
|
||||
x = column.Left + 2 * CellWidthPadding - _hBar.Value;
|
||||
// TODO: fix this CellPadding issue (2 * CellPadding vs just CellPadding)
|
||||
x = 1 + column.Left + CellWidthPadding - _hBar.Value;
|
||||
y = CellHeightPadding;
|
||||
}
|
||||
|
||||
|
@ -264,7 +263,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
// Center Text
|
||||
int textX = Math.Max(((colHeight - textWidth) / 2), CellWidthPadding) + strOffsetX;
|
||||
int textY = CellWidthPadding + strOffsetY;
|
||||
int textY = CellHeightPadding + strOffsetY;
|
||||
|
||||
_renderer.PrepDrawString(Font, _foreColor, rotate: true);
|
||||
DrawString(text, new Rectangle(baseX - textY, baseY + textX, 999, CellHeight));
|
||||
|
|
|
@ -1648,7 +1648,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
RecalculateScrollBars();
|
||||
if (_columns.VisibleColumns.Any())
|
||||
{
|
||||
MaxColumnWidth = _columns.VisibleColumns.Max(c => c.Width) + CellWidthPadding * 4;
|
||||
MaxColumnWidth = _columns.VisibleColumns.Max(c => c.Width);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1946,7 +1946,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
private int ColumnHeight => CellHeight + 2;
|
||||
|
||||
// The width of a cell in Horizontal Orientation.
|
||||
private int CellWidth => (int)_charSize.Width + CellWidthPadding * 4; // Double the padding for horizontal because it looks better
|
||||
private int CellWidth => Math.Max((int)_charSize.Height + CellHeightPadding * 2, (int)_charSize.Width + CellWidthPadding * 2);
|
||||
|
||||
// The height of a cell in Vertical Orientation.
|
||||
private int CellHeight => (int)_charSize.Height + CellHeightPadding * 2;
|
||||
|
@ -1967,7 +1967,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
if (_columns.VisibleColumns.Any())
|
||||
{
|
||||
MaxColumnWidth = _columns.VisibleColumns.Max(c => c.Width) + CellWidthPadding * 4;
|
||||
MaxColumnWidth = _columns.VisibleColumns.Max(c => c.Width);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#nullable enable
|
||||
#nullable enable
|
||||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue