A few minor adjustments

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1023 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2012-03-08 07:14:56 +00:00
parent 8afe681dc4
commit d2cc0eec46
5 changed files with 20 additions and 8 deletions

View File

@ -19,7 +19,7 @@ Subtitle Edit Changelog
* Go to next/prev sub (or double click in time line) will center selected
line in listview - thx Sean/vmb/Leszek
* Multiple replace can now move items up/down - thx Majid
* Improved support of SCCP format
* Improved support for the SCC format
* FIXED:
* Export to Blu-ray sup timestamps
* Crash in Visual Sync - thx XhmikosR

View File

@ -656,6 +656,9 @@
AAAAAAAAgAEAAP//AAA=
</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Go to line</value>
</data>

View File

@ -1333,7 +1333,7 @@
// labelSpectrogramAppearance
//
this.labelSpectrogramAppearance.AutoSize = true;
this.labelSpectrogramAppearance.Location = new System.Drawing.Point(10, 54);
this.labelSpectrogramAppearance.Location = new System.Drawing.Point(10, 52);
this.labelSpectrogramAppearance.Name = "labelSpectrogramAppearance";
this.labelSpectrogramAppearance.Size = new System.Drawing.Size(164, 13);
this.labelSpectrogramAppearance.TabIndex = 15;
@ -1356,7 +1356,7 @@
this.checkBoxGenerateSpectrogram.AutoSize = true;
this.checkBoxGenerateSpectrogram.Location = new System.Drawing.Point(10, 20);
this.checkBoxGenerateSpectrogram.Name = "checkBoxGenerateSpectrogram";
this.checkBoxGenerateSpectrogram.Size = new System.Drawing.Size(131, 17);
this.checkBoxGenerateSpectrogram.Size = new System.Drawing.Size(134, 17);
this.checkBoxGenerateSpectrogram.TabIndex = 11;
this.checkBoxGenerateSpectrogram.Text = "Generate spectrogram";
this.checkBoxGenerateSpectrogram.UseVisualStyleBackColor = true;

View File

@ -578,6 +578,8 @@ namespace Nikse.SubtitleEdit.Forms
{
int newButtonHeight = (int)(textSize.Height + 7 + 0.5);
Utilities.SetButtonHeight(this, newButtonHeight, 1);
Utilities.SetButtonHeight(groupBoxSsaStyle, newButtonHeight, 2);
Utilities.SetButtonHeight(groupBoxWaveFormAppearence, newButtonHeight, 1);
}
}

View File

@ -774,11 +774,18 @@ namespace Nikse.SubtitleEdit.Forms
string fullFileName = Path.Combine(Path.GetDirectoryName(_bdnFileName), fn);
if (File.Exists(fullFileName))
{
var temp = new Bitmap(fullFileName);
if (temp.Width > maxWidth)
maxWidth = temp.Width;
totalHeight += temp.Height;
bitmaps.Add(temp);
try
{
var temp = new Bitmap(fullFileName);
if (temp.Width > maxWidth)
maxWidth = temp.Width;
totalHeight += temp.Height;
bitmaps.Add(temp);
}
catch
{
return null;
}
}
}