Skip to content

Commit

Permalink
alpha 7 release; only auto resize row if it is not tall enough
Browse files Browse the repository at this point in the history
  • Loading branch information
atenfyr committed Oct 29, 2022
1 parent 91befc3 commit 9418e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TableHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ public void Load() // Updates the table with selected asset data
{
for (int i = 0; i < dataGridView1.Rows.Count; i++)
{
this.dataGridView1.AutoResizeRow(i);
if (dataGridView1.Rows[i].Height < dataGridView1.RowTemplate.MinimumHeight) this.dataGridView1.AutoResizeRow(i);
}
}

Expand Down

0 comments on commit 9418e64

Please sign in to comment.