Auto-adjust of framesize after loading table