Example #1
0
        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);
        }
Example #2
0
        public EleGridSizer GridSizer(EleBaseSizer parent, int cols, float proportion, LFlag flags)
        {
            EleGridSizer gs = new EleGridSizer(parent, cols, proportion, flags);

            return(gs);
        }
Example #3
0
        public EleGridSizer GridSizer(EleBaseRect parent, int cols, string name = "")
        {
            EleGridSizer gs = new EleGridSizer(parent, cols, name);

            return(gs);
        }