Changeset 16887


Ignore:
Timestamp:
05/02/19 13:05:27 (3 months ago)
Author:
chaider
Message:

#2971

  • Changed resizing to all cells instead of headers
  • Update OnContentChangedMethod
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/NamedIntervalsView.cs

    r16862 r16887  
    5252        DataGridView.Rows.Clear();
    5353        DataGridView.Columns.Clear();
    54       } else if (!DataGridView.IsCurrentCellInEditMode) {
     54      } else {
    5555        UpdateData();
    5656      }
     
    8181      FillRows();
    8282
    83       dataGridView.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.ColumnHeader);
    84       dataGridView.AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode.AutoSizeToDisplayedHeaders);
     83      dataGridView.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCells);
     84      dataGridView.AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders);
    8585      dataGridView.Enabled = true;
    8686      //Disable Sorting
Note: See TracChangeset for help on using the changeset viewer.