widget size depend on window