Jump to content

wider input fields in the options GUI of a mod


seeh
 Share

Recommended Posts

i use a string input filed and it works very nice. but not good to see when the content is large and the space left is not used.

source:

		"label": "mod Profile Selector",
		"options": [
			{
				"type": "string",
				"label": "p0 (if you set checkbox to many profiles only the first will be used and enabled.",
				"tooltip": "all your mods that you want to enable (BTW see line mod.enabledmods in your user.cfg).",
				"config": "modProfile.p0"
			},

screenshot:

Screenshot_20221122_132500.jpg.44116318750f8832845dd61e3a4302e2.jpg

how (if possible) could increase the space for this string input field?

 

 

 

 

 

Edited by seeh
Link to comment
Share on other sites

3 hours ago, seeh said:

i use a string input filed and it works very nice. but not good to see when the content is large and the space left is not used.

source:

		"label": "mod Profile Selector",
		"options": [
			{
				"type": "string",
				"label": "p0 (if you set checkbox to many profiles only the first will be used and enabled.",
				"tooltip": "all your mods that you want to enable (BTW see line mod.enabledmods in your user.cfg).",
				"config": "modProfile.p0"
			},

screenshot:

Screenshot_20221122_132500.jpg.44116318750f8832845dd61e3a4302e2.jpg

how (if possible) could increase the space for this string input field?

 

 

 

 

 

maybe check the sprite file, you can adjust the ui there?

Edited by rossenburg
Link to comment
Share on other sites

27 minutes ago, rossenburg said:

maybe check the sprite file, you can adjust the ui there?

thanks. i don't have a sprite file for that.
its only a part of the normal game options (0ad>Setting>Options>ModProfile Selector )

the other options from other mods also dont have wide large strings. so mabe its not possible there.

Link to comment
Share on other sites

On 22/11/2022 at 10:14 PM, seeh said:

thanks. i don't have a sprite file for that.
its only a part of the normal game options (0ad>Setting>Options>ModProfile Selector )

the other options from other mods also dont have wide large strings. so mabe its not possible there.

take a look at options.xml

Edited by rossenburg
Link to comment
Share on other sites

2 hours ago, rossenburg said:

options.xml

i have only a options.json at the moment not a options.xml

i will look in other aps for e.g. local rating for a options.xml. but it has not prio now for me. because it works. looks not very pretty but works. but i will not forget this

Edited by seeh
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...