add dynamic width and height for every .fxg