I'm trying to figure out if there is some simple way to display text in a GUI such that the text is centered vertically, horizontally, or both. I've tried using different GUI control styles, but nothing seems to work. I realize that I can probably achieve this effect by changing the "left" and "top" parameters, but I wonder if there is a better (or, at least different) way to accomplish this goal. Here is my example code: #include <ButtonConstants.au3>
#include <StaticConstants.au