add ability to set widget size