mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
Merge pull request #4694 from OmrSi/nqc-last-column
Auto-size the last column in NQC
This commit is contained in:
commit
98e9c28f1f
4
src/ui/Forms/NetflixFixErrors.Designer.cs
generated
4
src/ui/Forms/NetflixFixErrors.Designer.cs
generated
@ -378,7 +378,7 @@
|
||||
this.columnHeader7.Text = "Text";
|
||||
this.columnHeader7.Width = 300;
|
||||
//
|
||||
// columnHeader7
|
||||
// columnHeader8
|
||||
//
|
||||
this.columnHeader8.Text = "Suggested fix";
|
||||
this.columnHeader8.Width = 300;
|
||||
@ -411,6 +411,8 @@
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "NetflixFixErrors";
|
||||
this.ResizeEnd += new System.EventHandler(this.NetflixFixErrors_ResizeEnd);
|
||||
this.Shown += new System.EventHandler(this.NetflixFixErrors_Shown);
|
||||
this.groupBoxRules.ResumeLayout(false);
|
||||
this.groupBoxRules.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
@ -268,7 +268,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
else
|
||||
{
|
||||
Logic.UiUtil.OpenFolder(Path.GetDirectoryName(MakeReport()));
|
||||
UiUtil.OpenFolder(Path.GetDirectoryName(MakeReport()));
|
||||
}
|
||||
}
|
||||
|
||||
@ -279,5 +279,15 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
_netflixQualityController.SaveCsv(reportPath);
|
||||
return reportPath;
|
||||
}
|
||||
|
||||
private void NetflixFixErrors_ResizeEnd(object sender, EventArgs e)
|
||||
{
|
||||
listViewFixes.Columns[listViewFixes.Columns.Count - 1].Width = -2;
|
||||
}
|
||||
|
||||
private void NetflixFixErrors_Shown(object sender, EventArgs e)
|
||||
{
|
||||
NetflixFixErrors_ResizeEnd(this, EventArgs.Empty);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user