Skip to content

Commit

Permalink
Fixed UI panel toggling & scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
3F committed May 22, 2024
1 parent 6ec886e commit a86a883
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vsSolutionBuildEvent/UI/WForms/EventsFrm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ protected void renderData()
groupBoxCommandEvents.Enabled = false;

textEditor._.Select(0, 0);
textEditor._.ScrollToHome();
toolTip.SetToolTip(checkBoxWaitForExit, string.Empty);
checkBoxWaitForExit.Cursor = Cursors.Default;

Expand Down Expand Up @@ -979,8 +980,8 @@ protected void expandActionsList(bool open)
try
{
if(!open) {
splitContainer.SplitterDistance = splitContainer.Panel1MinSize; // yes, may exception, because Width may be unchangeable and equal to 160px see above
Size = metric.formCollapsed;
splitContainer.SplitterDistance = splitContainer.Panel1MinSize; // may be an exception due to immutable Width and 160px (n. above)
Width = metric.formCollapsed.Width;
return;
}
Width = metric.form.Width;
Expand Down

0 comments on commit a86a883

Please # to comment.