Can I just ask why you are needing to hard-code the values into your proxy gadget? Is there a reason why you aren't simply calling ClientWidth() within your TProxyGadget?
It's always best to steer clear of hard-coded values if you can help it, as even within one platform, the values can be different depending upon the theme uses etc.
It's always best to steer clear of hard-coded values if you can help it, as even within one platform, the values can be different depending upon the theme uses etc.