parent
b6a0688be0
commit
f07c689c58
|
@ -184,9 +184,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
if (HorizontalOrientation)
|
||||
{
|
||||
var columnHeight = GetHColHeight(j);
|
||||
var textHeight = (int)_renderer.MeasureString(column.Text, Font).Height;
|
||||
x = CellWidthPadding;
|
||||
y = yOffset + ((columnHeight - textHeight) / 2);
|
||||
var textSize = _renderer.MeasureString(column.Text, Font);
|
||||
x = MaxColumnWidth - CellWidthPadding - (int)textSize.Width;
|
||||
y = yOffset + ((columnHeight - (int)textSize.Height) / 2);
|
||||
yOffset += columnHeight;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -347,7 +347,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
TasView.AllColumns.Clear();
|
||||
TasView.AllColumns.Add(new(name: CursorColumnName, widthUnscaled: 18, type: ColumnType.Boolean, text: string.Empty));
|
||||
TasView.AllColumns.Add(new(name: FrameColumnName, widthUnscaled: 68, text: "Frame#")
|
||||
TasView.AllColumns.Add(new(name: FrameColumnName, widthUnscaled: 60, text: "Frame#")
|
||||
{
|
||||
Rotatable = true,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue