Jump to content
  • 0

MenuContainers.json Fonts?


Tron

Question

Does the font / font color not work in the menu container json?

Below is a snippet from my json:
 

    "SpellsContainer": {
      "Bounds": "168,0,84,35",
      "Padding": "0,0,0,0",
      "AlignmentEdgeDistances": "0,0,0,0",
      "AlignmentTransform": "0,0",
      "Margin": "0,0,0,0",
      "RenderColor": "255,255,255,255",
      "Alignments": "",
      "DrawBackground": true,
      "MinimumSize": "1,1",
      "MaximumSize": "84,35",
      "Disabled": false,
      "Hidden": false,
      "RestrictToParent": false,
      "MouseInputEnabled": false,
      "HideToolTip": false,
      "ToolTipBackground": null,
      "ToolTipFont": null,
      "ToolTipTextColor": "",
      "Texture": null,
      "HoverSound": null,
      "LeftMouseClickSound": null,
      "RightMouseClickSound": null,
      "Children": {
        "SpellsButton": {
          "Bounds": "0,0,84,35",
          "Padding": "0,0,0,0",
          "AlignmentEdgeDistances": "0,0,0,0",
          "AlignmentTransform": "0,0",
          "Margin": "0,0,0,0",
          "RenderColor": "255,255,255,255",
          "Alignments": "",
          "DrawBackground": true,
          "MinimumSize": "1,1",
          "MaximumSize": "84,35",
          "Disabled": false,
          "Hidden": false,
          "RestrictToParent": true,
          "MouseInputEnabled": true,
          "HideToolTip": true,
          "ToolTipBackground": "tooltip.png",
          "ToolTipFont": "sourcesansproblack,10",
          "ToolTipTextColor": "255,255,255,255",
          "TextColor": "255,222,171,139",
          "HoveredTextColor": "255,255,255,255",
          "ClickedTextColor": "255,31,17,14",
          "DisabledTextColor": "0,90,90,90",
          "TextAlign": "Center",
          "TextPadding": "0,4,0,0",
          "AutoSizeToContents": false,
          "Font": "fab,12",
          "TextScale": 1.0,
          "NormalImage": "btn.png",
          "HoveredImage": "btn.png",
          "ClickedImage": "btn_selected.png",
          "DisabledImage": "",
          "CenterImage": false,
          "HoverSound": "",
          "MouseUpSound": "",
          "MouseDownSound": "octave-tap-warm.wav",
          "ClickSound": ""
        }
      }
    },

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

About the color of the text, I can say that there are so many places that don't work, it could be something related to gwen or I don't know, I've tried to change the color of the text in crafting and mission editor, for example, and it didn't work, I tried also change the "render color" and no response on the font when it comes to custom font i also don't know how the intersect works. I've never tried to change the button's text color, but it could be another.

 

Always try to do clean tests before changing, for example, take the clean version and change the color and see if it changes, then try changing the font to another default font of the intersect, see how it behaves

This can help save time at many points when is about intersect.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...