now the windows changes its properties according to cell size, not the other way around