Creating a mock up design using string is a common solution. Once you are happy with your design simply measure the string for your required flex length.