Skip to content

Commit

Permalink
Fix path bar width
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Sep 17, 2024
1 parent 77ce667 commit 0719e2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WIMExplorer/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,9 @@ private async void toolStripButton2_Click(object sender, EventArgs e)
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
detailsPane.Visible = checkBox1.Checked;
int left = 0;
left = (toolStripDropDownButton1.Width + toolStripDropDownButton2.Width + toolStripButton1.Width + toolStripSeparator1.Width + toolStripLabel1.Width);
textBoxPath.Width = toolStrip1.Width - (left + toolStripButton2.Width) - 10;
}
}
}

0 comments on commit 0719e2b

Please sign in to comment.