Fixed group box size

This commit is contained in:
Jaex 2024-03-23 17:11:48 +03:00
parent a32a1bc370
commit ee958d8708

View file

@ -293,13 +293,13 @@ private void btnShadowExpand_Click(object sender, EventArgs e)
{
if (btnShadowExpand.Tag is "+")
{
gbShadow.Size = new Size(gbShadow.Width, 368);
gbShadow.Size = new Size(gbShadow.Width, btnShadowColor.Bottom + 16);
btnShadowExpand.Image = Resources.minus_white;
btnShadowExpand.Tag = "-";
}
else
{
gbShadow.Size = new Size(gbShadow.Width, 104);
gbShadow.Size = new Size(gbShadow.Width, tbShadowRadius.Bottom + 16);
btnShadowExpand.Image = Resources.plus_white;
btnShadowExpand.Tag = "+";
}