Jump to content
Sign in to follow this  
juleshuxley

Center text in a RscText box

Recommended Posts

Why is the A left aligned?
whutt.jpg

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×