Commit 6300750a HZH

bug

1 个父辈 d1cf5a5a
......@@ -661,7 +661,7 @@ namespace HZH_Controls.Controls
}
if (lastItem != null && intSourceCount == m_showCount)
{
lastItem.Height = this.panRow.Height - (m_showCount - 1) * m_rowHeight;
lastItem.Height = this.panRow.Height - (m_showCount - 1) * m_rowHeight-2;
}
}
else
......
......@@ -553,8 +553,7 @@ namespace HZH_Controls.Controls
e.Graphics.DrawString(e.Node.Text, font, new SolidBrush(this._nodeForeColor), (float)e.Bounds.X + intLeft, (float)e.Bounds.Y + ((float)this._nodeHeight - this.treeFontSize.Height) / 2f);
}
if (CheckBoxes)
{
{
Rectangle rectCheck = new Rectangle(e.Bounds.X + 3 + e.Node.Level * 20, e.Bounds.Y + (e.Bounds.Height - 16) / 2, 16, 16);
GraphicsPath pathCheck = rectCheck.CreateRoundedRectanglePath(3);
e.Graphics.FillPath(new SolidBrush(Color.FromArgb(247, 247, 247)), pathCheck);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!