Skip to content

Commit a183474

Browse files
author
slavara
committed
Merged feature/fix_center_to_parent_after_show into develop
2 parents 83c1d41 + e48a031 commit a183474

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

QuickNavigate/Forms/ClassHierarchyForm.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ protected override void OnShown(EventArgs e)
216216
{
217217
base.OnShown(e);
218218
if (Settings != null && Settings.HierarchyExplorerSize.Width > MinimumSize.Width) Size = Settings.HierarchyExplorerSize;
219+
CenterToParent();
219220
}
220221

221222
protected override void OnFormClosing(FormClosingEventArgs e)

QuickNavigate/Forms/QuickOutlineForm.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ protected override void OnShown(EventArgs e)
229229
{
230230
base.OnShown(e);
231231
if (Settings != null && Settings.QuickOutlineSize.Width > MinimumSize.Width) Size = Settings.QuickOutlineSize;
232+
CenterToParent();
232233
}
233234

234235
protected override void OnKeyDown(KeyEventArgs e)

QuickNavigate/Forms/TypeExplorerForm.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ protected override void OnShown(EventArgs e)
373373
if (Settings.TypeExplorerSize.Width > MinimumSize.Width) Size = Settings.TypeExplorerSize;
374374
searchingInExternalClasspaths.Checked = Settings.TypeExplorerSearchExternalClassPath;
375375
}
376+
CenterToParent();
376377
timer.Interval = Math.Max(PluginBase.MainForm.Settings.DisplayDelay, 100);
377378
timer.Tick += OnTimerTick;
378379
timer.Start();

0 commit comments

Comments
 (0)