示例#1
0
文件: GUILayout.cs 项目: nanze81/bsf
        /// <summary>
        /// Adds a new flexible space as a child of this layout. Flexible space expands
        /// to fill all available space in the layout. Space is inserted after all existing elements.
        /// </summary>
        /// <returns>Newly created flexible space.</returns>
        public GUIFlexibleSpace AddFlexibleSpace()
        {
            GUIFlexibleSpace space = new GUIFlexibleSpace();

            AddElement(space);
            return(space);
        }
示例#2
0
文件: GUILayout.cs 项目: nanze81/bsf
        /// <summary>
        /// Adds a new flexible space as a child of this layout. Flexible space expands to fill all available space in the
        /// layout. is inserted before the element at the specified index.
        /// </summary>
        /// <returns>Newly created flexible space.</returns>
        public GUIFlexibleSpace InsertFlexibleSpace(int idx)
        {
            GUIFlexibleSpace space = new GUIFlexibleSpace();

            InsertElement(idx, space);
            return(space);
        }
示例#3
0
文件: GUISpace.cs 项目: nanze81/bsf
 private static extern void Internal_CreateInstance(GUIFlexibleSpace instance);