A #define would indeed make sense, but does not work here either because engine objects don't accept #defines for their default values. But #defines for engine objects are indeed on our implementation list.
At the moment though, a function is the best way to set your panel position to the screen resolution.