pub fn change_size(&self, w: i32, h: i32, h_data: Policy, v_data: Policy) -> &Self {
        let enum_h_data_3 = h_data as u32;
        let enum_v_data_4 = v_data as u32;

        let (obj_data, funcs) = self.get_spacer_item_obj_funcs();
        unsafe {
            ((*funcs).change_size)(obj_data, w, h, enum_h_data_3, enum_v_data_4);
        }
        self
    }
///
/// Changes this spacer item to have preferred width *w,* preferred
/// height *h,* horizontal size policy *hPolicy* and vertical size
/// policy *vPolicy.*
///
/// The default values provide a gap that is able to stretch if
/// nothing else wants the space.
///
/// Note that if changeSize() is called after the spacer item has been added
/// to a layout, it is necessary to invalidate the layout in order for the
/// spacer item's new size to take effect.
///
/// **See also:** [`SpacerItem::invalidate`]


The default values provide a gap that is able to stretch if
nothing else wants the space.

Note that if changeSize() is called after the spacer item has been added
to a layout, it is necessary to invalidate the layout in order for the
spacer item's new size to take effect.


The default values provide a gap that is able to stretch if nothing else wants the space . Note that if changeSize () is called after the spacer item has been added to a layout it is necessary to invalidate the layout in order for the spacer item ' s new size to take effect .
pub fn change_size(&self, w: i32, h: i32, h_data: Policy, v_data: Policy) -> &Self {
        let enum_h_data_3 = h_data as u32;
        let enum_v_data_4 = v_data as u32;
        let (obj_data, funcs) = self.get_spacer_item_obj_funcs();
        unsafe {
            ((*funcs).change_size)(obj_data, w, h, enum_h_data_3, enum_v_data_4);
        }
        self
    }
pub fn change_size ( & self , w : i32 , h : i32 , h_data : Policy , v_data : Policy ) -> & Self { let enum_h_data_3 = h_data as u32 ; let enum_v_data_4 = v_data as u32 ; let ( obj_data , funcs ) = self . get_spacer_item_obj_funcs ( ) ; unsafe { ( ( * funcs ) . change_size ) ( obj_data , w , h , enum_h_data_3 , enum_v_data_4 ) ; } self }
Changes this spacer item to have preferred width *w,* preferred
height *h,* horizontal size policy *hPolicy* and vertical size
policy *vPolicy.
Changes this spacer item to have preferred width * w * preferred height * h * horizontal size policy * hPolicy * and vertical size policy * vPolicy .
&self
w
i32
h
i32
h_data
Policy
v_data
Policy
&self
w
i32
h
i32
h_data
Policy
v_data
Policy