public EleGridSizer PushGridSizer(int cols, float proportion, LFlag flags) { EleGridSizer szr = this.AddGridSizer(cols, proportion, flags); if (szr == null) { return(null); } Entry newE = new Entry(this.head.rect, szr); this.stack.Push(this.head); this.head = newE; return(szr); }
public EleGridSizer GridSizer(EleBaseSizer parent, int cols, float proportion, LFlag flags) { EleGridSizer gs = new EleGridSizer(parent, cols, proportion, flags); return(gs); }
public EleGridSizer GridSizer(EleBaseRect parent, int cols, string name = "") { EleGridSizer gs = new EleGridSizer(parent, cols, name); return(gs); }