mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
A few minor adjustments
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1023 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
8afe681dc4
commit
d2cc0eec46
@ -19,7 +19,7 @@ Subtitle Edit Changelog
|
|||||||
* Go to next/prev sub (or double click in time line) will center selected
|
* Go to next/prev sub (or double click in time line) will center selected
|
||||||
line in listview - thx Sean/vmb/Leszek
|
line in listview - thx Sean/vmb/Leszek
|
||||||
* Multiple replace can now move items up/down - thx Majid
|
* Multiple replace can now move items up/down - thx Majid
|
||||||
* Improved support of SCCP format
|
* Improved support for the SCC format
|
||||||
* FIXED:
|
* FIXED:
|
||||||
* Export to Blu-ray sup timestamps
|
* Export to Blu-ray sup timestamps
|
||||||
* Crash in Visual Sync - thx XhmikosR
|
* Crash in Visual Sync - thx XhmikosR
|
||||||
|
@ -656,6 +656,9 @@
|
|||||||
AAAAAAAAgAEAAP//AAA=
|
AAAAAAAAgAEAAP//AAA=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||||
|
<value>CenterParent</value>
|
||||||
|
</data>
|
||||||
<data name="$this.Text" xml:space="preserve">
|
<data name="$this.Text" xml:space="preserve">
|
||||||
<value>Go to line</value>
|
<value>Go to line</value>
|
||||||
</data>
|
</data>
|
||||||
|
4
src/Forms/Settings.Designer.cs
generated
4
src/Forms/Settings.Designer.cs
generated
@ -1333,7 +1333,7 @@
|
|||||||
// labelSpectrogramAppearance
|
// labelSpectrogramAppearance
|
||||||
//
|
//
|
||||||
this.labelSpectrogramAppearance.AutoSize = true;
|
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.Name = "labelSpectrogramAppearance";
|
||||||
this.labelSpectrogramAppearance.Size = new System.Drawing.Size(164, 13);
|
this.labelSpectrogramAppearance.Size = new System.Drawing.Size(164, 13);
|
||||||
this.labelSpectrogramAppearance.TabIndex = 15;
|
this.labelSpectrogramAppearance.TabIndex = 15;
|
||||||
@ -1356,7 +1356,7 @@
|
|||||||
this.checkBoxGenerateSpectrogram.AutoSize = true;
|
this.checkBoxGenerateSpectrogram.AutoSize = true;
|
||||||
this.checkBoxGenerateSpectrogram.Location = new System.Drawing.Point(10, 20);
|
this.checkBoxGenerateSpectrogram.Location = new System.Drawing.Point(10, 20);
|
||||||
this.checkBoxGenerateSpectrogram.Name = "checkBoxGenerateSpectrogram";
|
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.TabIndex = 11;
|
||||||
this.checkBoxGenerateSpectrogram.Text = "Generate spectrogram";
|
this.checkBoxGenerateSpectrogram.Text = "Generate spectrogram";
|
||||||
this.checkBoxGenerateSpectrogram.UseVisualStyleBackColor = true;
|
this.checkBoxGenerateSpectrogram.UseVisualStyleBackColor = true;
|
||||||
|
@ -578,6 +578,8 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
int newButtonHeight = (int)(textSize.Height + 7 + 0.5);
|
int newButtonHeight = (int)(textSize.Height + 7 + 0.5);
|
||||||
Utilities.SetButtonHeight(this, newButtonHeight, 1);
|
Utilities.SetButtonHeight(this, newButtonHeight, 1);
|
||||||
|
Utilities.SetButtonHeight(groupBoxSsaStyle, newButtonHeight, 2);
|
||||||
|
Utilities.SetButtonHeight(groupBoxWaveFormAppearence, newButtonHeight, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -773,6 +773,8 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
string fullFileName = Path.Combine(Path.GetDirectoryName(_bdnFileName), fn);
|
string fullFileName = Path.Combine(Path.GetDirectoryName(_bdnFileName), fn);
|
||||||
if (File.Exists(fullFileName))
|
if (File.Exists(fullFileName))
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
var temp = new Bitmap(fullFileName);
|
var temp = new Bitmap(fullFileName);
|
||||||
if (temp.Width > maxWidth)
|
if (temp.Width > maxWidth)
|
||||||
@ -780,6 +782,11 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
totalHeight += temp.Height;
|
totalHeight += temp.Height;
|
||||||
bitmaps.Add(temp);
|
bitmaps.Add(temp);
|
||||||
}
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Bitmap b = null;
|
Bitmap b = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user