Exemplo n.º 1
0
        /// <summary>
        /// Adds a new fixed space object. Fixed space inserts a blank space with specific width or height (depending on
        /// layout type) in the layout. Space is inserted after all existing elements.
        /// </summary>
        /// <param name="size">Size of the space in pixels. This will represent either width or height depending whether the
        /// layout is vertical or horizontal.</param>
        /// <returns>Newly created fixed space.</returns>
        public GUIFixedSpace InsertSpace(int idx, int size)
        {
            GUIFixedSpace space = new GUIFixedSpace(size);

            InsertElement(idx, space);
            return(space);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Adds a new fixed space object. Fixed space inserts a blank space with specific
        /// width or height (depending on layout type) in the layout. Space is inserted after all existing elements.
        /// </summary>
        /// <param name="size">Size of the space in pixels. This will represent either width or height depending whether the
        ///                    layout is vertical or horizontal.</param>
        /// <returns>Newly created fixed space.</returns>
        public GUIFixedSpace AddSpace(int size)
        {
            GUIFixedSpace space = new GUIFixedSpace(size);

            AddElement(space);
            return(space);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Adds a new fixed space object. Fixed space inserts a blank space with specific width or height (depending on 
 /// layout type) in the layout. Space is inserted after all existing elements.
 /// </summary>
 /// <param name="idx">Index at which to insert the space.</param>
 /// <param name="size">Size of the space in pixels. This will represent either width or height depending whether the 
 /// layout is vertical or horizontal.</param>
 /// <returns>Newly created fixed space.</returns>
 public GUIFixedSpace InsertSpace(int idx, int size)
 {
     GUIFixedSpace space = new GUIFixedSpace(size);
     InsertElement(idx, space);
     return space;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Adds a new fixed space object. Fixed space inserts a blank space with specific
 /// width or height (depending on layout type) in the layout. Space is inserted after all existing elements.
 /// </summary>
 /// <param name="size">Size of the space in pixels. This will represent either width or height depending whether the 
 ///                    layout is vertical or horizontal.</param>
 /// <returns>Newly created fixed space.</returns>
 public GUIFixedSpace AddSpace(int size)
 {
     GUIFixedSpace space = new GUIFixedSpace(size);
     AddElement(space);
     return space;
 }
Exemplo n.º 5
0
 private static extern void Internal_CreateInstance(GUIFixedSpace instance, int size);
Exemplo n.º 6
0
 private static extern void Internal_CreateInstance(GUIFixedSpace instance, int size);