Ominous Leo Posted January 26, 2020 Share Posted January 26, 2020 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.   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 More sharing options...
0 thanku293 Posted January 27, 2020 Share Posted January 27, 2020 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" Ominous Leo 1 Link to comment Share on other sites More sharing options...
0 thanku293 Posted January 27, 2020 Share Posted January 27, 2020 hello i don't know if i understood well but isn't it called "LoginButton" on the MenuWindow.json? sorryformyenglish Link to comment Share on other sites More sharing options...
0 Ominous Leo Posted January 27, 2020 Author Share Posted January 27, 2020 6 minutes ago, thanku293 said: hello i don't know if i understood well but isn't it called "LoginButton" on the MenuWindow.json? 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 More sharing options...
0 Ominous Leo Posted January 27, 2020 Author Share Posted January 27, 2020 That indeed worked! Took a minute to mess around with but thank you so much I was able to figure it out. Link to comment Share on other sites More sharing options...
0 thanku293 Posted January 27, 2020 Share Posted January 27, 2020 21 minutes ago, Ominous Leo said: That indeed worked! Took a minute to mess around with but thank you so much I was able to figure it out. Â Yay! I'm very glad, you're welcome Link to comment Share on other sites More sharing options...
Question
Ominous Leo
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.
Â
Â
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