mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Minor fix for ssa/ass properties
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1241 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
ed19ac8ece
commit
2668a81056
@ -43,7 +43,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
foreach (string line in subtitle.Header.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries))
|
||||
{
|
||||
string s = line.ToLower();
|
||||
string s = line.ToLower().Trim();
|
||||
if (s.StartsWith("title:"))
|
||||
{
|
||||
textBoxTitle.Text = s.Remove(0, 6).Trim();
|
||||
|
12
src/Forms/SubStationAlphaStyles.Designer.cs
generated
12
src/Forms/SubStationAlphaStyles.Designer.cs
generated
@ -33,6 +33,7 @@
|
||||
this.columnHeaderName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeaderFontName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeaderFontSize = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeaderUseCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeaderPrimaryColor = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeaderOutline = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.contextMenuStripStyles = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
@ -95,7 +96,6 @@
|
||||
this.pictureBoxPreview = new System.Windows.Forms.PictureBox();
|
||||
this.colorDialogSSAStyle = new System.Windows.Forms.ColorDialog();
|
||||
this.openFileDialogImport = new System.Windows.Forms.OpenFileDialog();
|
||||
this.columnHeaderUseCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.contextMenuStripStyles.SuspendLayout();
|
||||
this.groupBoxStyles.SuspendLayout();
|
||||
this.groupBoxProperties.SuspendLayout();
|
||||
@ -154,6 +154,10 @@
|
||||
this.columnHeaderFontSize.Text = "Font size";
|
||||
this.columnHeaderFontSize.Width = 80;
|
||||
//
|
||||
// columnHeaderUseCount
|
||||
//
|
||||
this.columnHeaderUseCount.Text = "Used#";
|
||||
//
|
||||
// columnHeaderPrimaryColor
|
||||
//
|
||||
this.columnHeaderPrimaryColor.Text = "Primary";
|
||||
@ -803,10 +807,6 @@
|
||||
this.pictureBoxPreview.TabIndex = 0;
|
||||
this.pictureBoxPreview.TabStop = false;
|
||||
//
|
||||
// columnHeaderUseCount
|
||||
//
|
||||
this.columnHeaderUseCount.Text = "Used#";
|
||||
//
|
||||
// SubStationAlphaStyles
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
@ -817,7 +817,9 @@
|
||||
this.Controls.Add(this.buttonCancel);
|
||||
this.Controls.Add(this.buttonOK);
|
||||
this.Controls.Add(this.groupBoxPreview);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.KeyPreview = true;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(898, 580);
|
||||
this.Name = "SubStationAlphaStyles";
|
||||
|
Loading…
Reference in New Issue
Block a user