set consistent size for panel