juleshuxley 9 Posted November 23, 2020 Why is the A left aligned? class MyTextControl : RscText { type = CT_HTML; w = 0.06; h = 0.05; font = "TahomaB"; sizeEx = 0.04; colorBackground[] = {0,0.9,0,1.0}; text = "A"; shadow = 0; align = "CENTER"; style = ST_CENTER; valign = "top"; }; I've tried setting align and style but it appears to be left aligned. How do I change it so the text is in the center of the box? Share this post Link to post Share on other sites
juleshuxley 9 Posted November 23, 2020 Stupid mistake needed to definte ST_CENTER in the header: #define ST_CENTER 0x02 1 Share this post Link to post Share on other sites