Skip to content

Commit

Permalink
Layout changing
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Sep 28, 2022
1 parent 3f35aac commit 699a9fe
Show file tree
Hide file tree
Showing 3 changed files with 522 additions and 430 deletions.
11 changes: 6 additions & 5 deletions CustomActionTester/CAT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ private void FixFormForTool()
TabIcon = catTool.Logo16;
PluginIcon = catTool.Icon16;
tslAbout.Image = catTool.Logo24;
gbCustomWhat.Text = catTool.Target;
lblSelect.Text = $"{catTool.Target} Select";
lblOutput.Text = $"{catTool.Target} Output";
lblCustomWhat.Text = catTool.Target;
btnManage.Visible = !string.IsNullOrWhiteSpace(catTool.ManagerTool)/* && PluginManagerExtended.Instance.Plugins.Any(p => p.Metadata.Name == catTool.ManagerTool)*/;
RefreshLayout();
Expand Down Expand Up @@ -111,10 +112,10 @@ private void llCallHistory_LinkClicked(object sender, LinkLabelLinkClickedEventA

private void picHistory_Click(object sender, EventArgs e)
{
splitRight.Panel2Collapsed = !splitRight.Panel2Collapsed;
picHistoryOpen.Visible = splitRight.Panel2Collapsed;
picHistoryClose.Visible = !splitRight.Panel2Collapsed;
if (!splitRight.Panel2Collapsed)
splitToolHistory.Panel2Collapsed = !splitToolHistory.Panel2Collapsed;
picHistoryOpen.Visible = splitToolHistory.Panel2Collapsed;
picHistoryClose.Visible = !splitToolHistory.Panel2Collapsed;
if (!splitToolHistory.Panel2Collapsed)
{
LoadHistory();
}
Expand Down
Loading

0 comments on commit 699a9fe

Please sign in to comment.