Skip to content

Commit

Permalink
🚸 Open loggers tree as dock panel docked on the right Analogy-LogView…
Browse files Browse the repository at this point in the history
  • Loading branch information
pybride committed May 8, 2023
1 parent 893c6b2 commit 84e7417
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 24 deletions.
74 changes: 53 additions & 21 deletions Analogy.CommonControls/UserControls/LogMessagesUC.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Analogy.CommonControls/UserControls/LogMessagesUC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1458,12 +1458,12 @@ public async Task LoadExtensions()
DockPanel? pnl = dockManager1.Panels.FirstOrDefault(i => i.ID == extension.Id);
if (pnl == null)
{
pnl = dockManager1.AddPanel(DockingStyle.Float);
pnl = dockPanelTree;
pnl.Text = extension.Title;
pnl.ID = extension.Id;
pnl.DockedAsTabbedDocument = true;
}
pnl.Controls.Add(extension.CreateUserControl(Id, Logger));
//pnl.Controls.Add(extension.CreateUserControl(Id, Logger));
pnl.ControlContainer.Controls.Add(extension.CreateUserControl(Id, Logger));
pnl.SizeChanged += ExtensionPanel_SizeChanged;
await extension.InitializeUserControl(this, Id, Logger);
}
Expand Down

0 comments on commit 84e7417

Please sign in to comment.