diff --git a/SEWorldGenPlugin/GUI/Controls/MyGuiControlParentTableLayout.cs b/SEWorldGenPlugin/GUI/Controls/MyGuiControlParentTableLayout.cs index 7be6665..be733b2 100644 --- a/SEWorldGenPlugin/GUI/Controls/MyGuiControlParentTableLayout.cs +++ b/SEWorldGenPlugin/GUI/Controls/MyGuiControlParentTableLayout.cs @@ -143,7 +143,7 @@ public bool AddTableRow(params MyGuiControlBase[] rowControls) /// public void AddTableSeparator() { - MyGuiControlSeparatorList sep = new MyGuiControlSeparatorList(); + MyGuiTableSeperator sep = new MyGuiTableSeperator(); m_tableRows.Add(new MyGuiControlBase[] { sep }); m_tableHeight += MARGIN_ROWS; @@ -232,9 +232,9 @@ public void RefreshInternals() { var control = row[i]; - if(control != null && control is MyGuiControlSeparatorList) + if(control != null && control is MyGuiTableSeperator) { - var sep = control as MyGuiControlSeparatorList; + var sep = control as MyGuiTableSeperator; sep.Clear(); sep.AddHorizontal(currentRowTopLeft, Size.X - MARGIN_COLUMNS); } @@ -254,4 +254,8 @@ public void RefreshInternals() } } } + + internal class MyGuiTableSeperator : MyGuiControlSeparatorList + { + } }