Add size set function to GuiComponent

Similar to #92...