Exemplo n.º 1
0
        public static SplitterState FromRelative(float[] relativeSizes, float[] minSizes, float[] maxSizes, int splitSize)
        {
            var state = new SplitterState(false);

            state.InitFromRelative(relativeSizes, minSizes, maxSizes, splitSize);
            return(state);
        }
Exemplo n.º 2
0
        public static SplitterState FromRelative(params float[] relativeSizes)
        {
            var state = new SplitterState(false);

            state.InitFromRelative(relativeSizes, null, null, 0);
            return(state);
        }