support resize window; split Tile and Grid to each other files; use does...

...n'y combine pattern