Signs and ColorCodes

Discussion in 'Plugin Development' started by Baba43, Jun 4, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Baba43

    Hey, If I use ColorCodes on my sign the alignment changes and it looks very ugly.

    Any way to solve this properly?
     
  2. Offline

    Spartan_V23

    There is not one I know of to solve this. When a color code is applied to a sign, its actually adding a small symbol and number in front of the text and this is how your are getting color. That being said it makes the formatting odd and un-fixable.
     
  3. Aren't color symbols replaced with the actual color ? I know it reduces the max string of the line but I never seen it affect spacing before words... unless you actually added a space.
     
  4. Offline

    Spartan_V23

    It has done it with all of my signs that use color codes in my plugins. It shifts the text to the left about 2-3 spaces. Offsetting the centering of the text.
     
  5. Offline

    Baba43

    Cool.. 3 seems to be perfect. I think I can go with this, thx.
     
Thread Status:
Not open for further replies.

Share This Page