Jump to content

GUI Session Panels problem adjusting icon spacing.


Adriano0ad
 Share

Recommended Posts

Hi @Adriano0ad

I'm guessing what you mean is that you resized the panel and now you want icons to fit better in the panel.
 

The spacing is calculated dynamically so you should only have to increase the number of items per row. In the selection_panels.js for example :

g_SelectionPanels.Construction = {
	"getMaxNumberOfItems": function()
	{
		return 40 - getNumberOfRightPanelButtons();
	},
	"rowLength": 10, // <<<< INCREASE THIS NUMBER to 12 for example
	"getItems": function()
	{ ... 

 

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...