Commit abbe9a3e HZH

当下来列表为空时显示一个高度100的

1 个父辈 8bd69721
......@@ -121,6 +121,8 @@ namespace HZH_Controls.Controls.ComboBox
if (m_dataSource != null && m_dataSource.Count > 0)
{
int _intHeight = Math.Min(110 + m_dataSource.Count * 36, m_ucPanel.Height);
if (_intHeight <= 0)
_intHeight = 100;
m_ucPanel.Height = _intHeight;
}
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!