| | |
| | | /// </summary>
|
| | | private void InitFrameTable()
|
| | | {
|
| | | if (this.m_frameTable != null)
|
| | | if (this.m_frameTable != null && this.m_frameTable.Parent != null)
|
| | | {
|
| | | return;
|
| | | }
|
| | |
| | | {
|
| | | //调整桌布高度
|
| | | this.m_frameTable.Height = child.Bottom;
|
| | | //if (this.m_frameTable.Height < child.Bottom)
|
| | | //{
|
| | | // this.m_frameTable.Height = child.Bottom;
|
| | | //}
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | this.AddChidrenFrame(frameBackTemp);
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 还原桌布高度
|
| | | /// </summary>
|
| | | public void RecoverTableHeight()
|
| | | {
|
| | | if (this.m_frameTable != null)
|
| | | {
|
| | | m_frameTable.Height = this.Height;
|
| | | }
|
| | | }
|
| | |
|
| | | #endregion
|
| | | }
|
| | | }
|