Jump to content
  • 0

GUI Main Menu 'Login' - Font Location


Ominous Leo

Question

Other than 'Alignment' is there a way to pick the exact position of the 'Font' inside the GUI Layout?
I will post a picture for reference.

 

a00ef9c345caf49b5f457bde7516bce2.png

 

I see the Main Menu "Title" Font but not the "Login"
Am I overlooking something or is it hidden somewhere else?

Thank you for your time everyone. 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
1 hour ago, Ominous Leo said:


Yes, Inside you will see the following

 


Which is for the button itself but is there a way to control where the font is on it's own rather than using the alignment?
As you can see, you can do it with the "Title" Font alone.

 

 

If not, I can work around it. It's not that big of a deal.

 

I don't know if this is the answer you want but maybe it is?

 

You can move the text on "LoginButton" -- > "TextPadding"

Link to comment
Share on other sites

  • 0
6 minutes ago, thanku293 said:

hello i don't know if i understood well but isn't it called "LoginButton" on the MenuWindow.json? :35_thinking: sorryformyenglish


Yes, Inside you will see the following

 

Quote

"LoginButton": {
      "Bounds": "30,72,175,120",
      "Padding": "3,3,3,3",
      "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": "4096,4096",
      "Disabled": false,
      "Hidden": false,
      "RestrictToParent": false,
      "MouseInputEnabled": true,
      "HideToolTip": false,
      "ToolTipBackground": null,
      "ToolTipFont": null,
      "ToolTipTextColor": "",
      "TextColor": "255,225,225,225",
      "HoveredTextColor": "255,225,225,225",
      "ClickedTextColor": "255,225,225,225",
      "DisabledTextColor": "255,225,225,225",
      "TextAlign": "Top, Center",
      "TextPadding": "10,10,3,3",
      "AutoSizeToContents": false,
      "Font": "sourcesansproblack,12",
      "TextScale": 1.0,
      "NormalImage": "mainmenu_login.png",
      "HoveredImage": "mainmenu_login_hovered.png",
      "ClickedImage": "mainmenu_login_clicked.png",
      "DisabledImage": "mainmenu_login_disabled.png",
      "CenterImage": false,
      "HoverSound": "octave-tap-resonant.wav",
      "MouseUpSound": "",
      "MouseDownSound": "octave-tap-warm.wav",
      "ClickSound": ""
    },


Which is for the button itself but is there a way to control where the font is on it's own rather than using the alignment?
As you can see, you can do it with the "Title" Font alone.

 

Quote

    },
    "Title": {
      "Bounds": "12,-160,512,393",
      "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": "4096,4096",
      "Disabled": false,
      "Hidden": false,
      "RestrictToParent": false,
      "MouseInputEnabled": false,
      "HideToolTip": false,
      "ToolTipBackground": null,
      "ToolTipFont": null,
      "ToolTipTextColor": "",
      "BackgroundTemplate": null,
      "TextColor": "220,10,10,10",
      "HoveredTextColor": "",
      "ClickedTextColor": "",
      "DisabledTextColor": "255,90,90,90",
      "TextAlign": "Center",
      "TextPadding": "25,8,0,0",
      "AutoSizeToContents": false,
      "Font": "sourcesansproblack,20",
      "TextScale": 1.0
    },

 

If not, I can work around it. It's not that big of a deal.

Link to comment
Share on other sites

×
×
  • Create New...