InputRoll - don't hardcode padding variables in the constructor

This commit is contained in:
adelikat 2019-11-26 12:51:36 -06:00
parent bab5877d1a
commit 22fdbd08d0
8 changed files with 7 additions and 2 deletions

View File

@ -76,8 +76,6 @@ namespace BizHawk.Client.EmuHawk
public InputRoll() public InputRoll()
{ {
CellWidthPadding = 3;
CellHeightPadding = 0;
CurrentCell = null; CurrentCell = null;
ScrollMethod = "near"; ScrollMethod = "near";

View File

@ -267,6 +267,7 @@
// //
// lvCDL // lvCDL
// //
this.lvCDL.CellWidthPadding = 3;
this.lvCDL.Dock = System.Windows.Forms.DockStyle.Fill; this.lvCDL.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvCDL.FullRowSelect = true; this.lvCDL.FullRowSelect = true;
this.lvCDL.GridLines = true; this.lvCDL.GridLines = true;

View File

@ -94,6 +94,7 @@
// //
// CheatListView // CheatListView
// //
this.CheatListView.CellWidthPadding = 3;
this.CheatListView.AllowColumnReorder = true; this.CheatListView.AllowColumnReorder = true;
this.CheatListView.AllowColumnResize = true; this.CheatListView.AllowColumnResize = true;
this.CheatListView.MultiSelect = true; this.CheatListView.MultiSelect = true;

View File

@ -237,6 +237,7 @@
this.DisassemblerView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.DisassemblerView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.DisassemblerView.CellWidthPadding = 3;
this.DisassemblerView.AllowColumnReorder = false; this.DisassemblerView.AllowColumnReorder = false;
this.DisassemblerView.AllowColumnResize = true; this.DisassemblerView.AllowColumnResize = true;
this.DisassemblerView.ContextMenuStrip = this.DisassemblerContextMenu; this.DisassemblerView.ContextMenuStrip = this.DisassemblerContextMenu;

View File

@ -802,6 +802,7 @@
this.LuaListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.LuaListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.LuaListView.CellWidthPadding = 3;
this.LuaListView.AllowColumnResize = true; this.LuaListView.AllowColumnResize = true;
this.LuaListView.AllowColumnReorder = false; this.LuaListView.AllowColumnReorder = false;
this.LuaListView.ContextMenuStrip = this.ScriptListContextMenu; this.LuaListView.ContextMenuStrip = this.ScriptListContextMenu;

View File

@ -1228,6 +1228,7 @@
// //
// TasView // TasView
// //
this.TasView.CellWidthPadding = 3;
this.TasView.GridLines = true; this.TasView.GridLines = true;
this.TasView.AllowMassNavigationShortcuts = false; this.TasView.AllowMassNavigationShortcuts = false;
this.TasView.AllowColumnReorder = false; this.TasView.AllowColumnReorder = false;

View File

@ -179,6 +179,7 @@
// //
// WatchListView // WatchListView
// //
this.WatchListView.CellWidthPadding = 3;
this.WatchListView.AllowColumnReorder = true; this.WatchListView.AllowColumnReorder = true;
this.WatchListView.AllowColumnResize = true; this.WatchListView.AllowColumnResize = true;
this.WatchListView.AllowDrop = true; this.WatchListView.AllowDrop = true;

View File

@ -878,6 +878,7 @@
// //
// WatchListView // WatchListView
// //
this.WatchListView.CellWidthPadding = 3;
this.WatchListView.AllowColumnResize = true; this.WatchListView.AllowColumnResize = true;
this.WatchListView.AllowColumnReorder = true; this.WatchListView.AllowColumnReorder = true;
this.WatchListView.FullRowSelect = true; this.WatchListView.FullRowSelect = true;