public EleSeparator CreateSeparator(EleBaseRect parent, Vector2 size) { EleSeparator ele = new EleSeparator( parent, this.horizontalSplitterSprite, size, ""); return(ele); }
public EleSeparator CreateVerticalSeparator(EleBaseRect parent) { EleSeparator ele = new EleSeparator( parent, this.horizontalSplitterSprite, LFlag.GrowVert); ele.minSize = this.minSplitterSize; return(ele); }
public EleSeparator AddHorizontalSeparator(float proportion = 0.0f) { EleBaseSizer szr = this.head.GetSizer(); if (szr == null) { return(null); } EleSeparator sep = this.uiFactory.CreateHorizontalSeparator(this.head.rect); szr.Add(sep, proportion, LFlag.GrowHoriz); return(sep); }