diff --git a/Components/WinFormUI/Forms/MainWindow.Designer.cs b/Components/WinFormUI/Forms/MainWindow.Designer.cs index 5ff0d442..a22398ec 100644 --- a/Components/WinFormUI/Forms/MainWindow.Designer.cs +++ b/Components/WinFormUI/Forms/MainWindow.Designer.cs @@ -98,6 +98,7 @@ private void InitializeComponent() this.EventsTabControl.SelectedIndex = 0; this.EventsTabControl.Size = new System.Drawing.Size(707, 495); this.EventsTabControl.TabIndex = 5; + this.EventsTabControl.Resize += new System.EventHandler(this.EventsTabControl_Resize); // // tabPage1 // @@ -150,7 +151,7 @@ private void InitializeComponent() // // columnHeader2 // - this.columnHeader2.Width = 600; + this.columnHeader2.Width = 2000; // // tabPage3 // diff --git a/Components/WinFormUI/Forms/MainWindow.cs b/Components/WinFormUI/Forms/MainWindow.cs index 5be11147..4302fc8f 100644 --- a/Components/WinFormUI/Forms/MainWindow.cs +++ b/Components/WinFormUI/Forms/MainWindow.cs @@ -108,6 +108,7 @@ bool deepView EventsCollected.Selected(LuaScriptTreeNode); EventsTabControl.SelectedIndex = 1; + ConsoleListView.Columns[0].Width = EventsTabControl.Width - 20; Text += " v" + applicationVersionService.Version; @@ -599,5 +600,10 @@ private void CopyLuaHandlerCodeMenuItem_Click(object sender, EventArgs e) "; CopyToClipBoard(code); } + + private void EventsTabControl_Resize(object sender, EventArgs e) + { + ConsoleListView.Columns[0].Width = EventsTabControl.Width - 20; + } } } \ No newline at end of file