diff --git a/SourceGen/WpfGui/MainWindow.xaml.cs b/SourceGen/WpfGui/MainWindow.xaml.cs index d6cf12c..c6d5202 100644 --- a/SourceGen/WpfGui/MainWindow.xaml.cs +++ b/SourceGen/WpfGui/MainWindow.xaml.cs @@ -571,6 +571,9 @@ namespace SourceGen.WpfGui { AppSettings.Global.GetString(AppSettings.NOTEWIN_COL_WIDTHS, null)); RestoreColumnWidths(symbolsGrid, AppSettings.Global.GetString(AppSettings.SYMWIN_COL_WIDTHS, null)); + + // Force the Notes text column width to be '*', i.e. fill the panel. + notesGrid.Columns[1].Width = new DataGridLength(1, DataGridLengthUnitType.Star); } private void RestoreColumnWidths(GridView gv, string str) { int[] widths = null;