Jump to content
  • 0

Adjusting Close Button


Tron

Question

For some reason I can't move the close button lower without it cutting off. Does anyone have any tips or ideas one why this is?

 

6724b65859c4af7be3c4504a282c3270.png

 

Here is the section in InventoryWindow.json:

"CloseButton": {
    "Bounds": "188,6,26,25",
    "Padding": "3,6,0,0",
    "AlignmentEdgeDistances": "0,0,6,-10",
    "AlignmentTransform": "0,0",
    "Margin": "0,0,0,0",
    "RenderColor": "200,150,150,150",
    "Alignments": "Top,Right",
    "DrawBackground": true,
    "MinimumSize": "1,1",
    "MaximumSize": "30,30",
    "Disabled": false,
    "Hidden": false,
    "RestrictToParent": true,
    "MouseInputEnabled": true,
    "HideToolTip": false,
    "ToolTipBackground": null,
    "ToolTipFont": null,
    "ToolTipTextColor": "",
    "TextColor": "0,255,255,255",
    "HoveredTextColor": "",
    "ClickedTextColor": "",
    "DisabledTextColor": "255,90,90,90",
    "TextAlign": "Center",
    "TextPadding": "3,3,3,3",
    "AutoSizeToContents": false,
    "Font": "arial,10",
    "TextScale": 1.0,
    "NormalImage": "closenormal.png",
    "HoveredImage": "closehover.png",
    "ClickedImage": "closeclicked.png",
    "DisabledImage": "",
    "CenterImage": false,
    "HoverSound": "octave-tap-resonant.wav",
    "MouseUpSound": "",
    "MouseDownSound": "octave-tap-warm.wav",
    "ClickSound": ""
  },

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I believe the issue with the actual inventory black bar itself and it's limit on space. However the only drawback is that it pushes the inventory slots down.
Next question is how to avoid the slots from going down.

Edit: Just raise the numbers by a small amount, it shouldn't make a big impact on the slots I guess. I just put a big number just to see if it would move up and down without the X getting cut off.

b407c614f1503c9b78b0466f1ae6ea9d.png

 

Quote

Here is the section in InventoryWindow.json:

  "Titlebar": {
    "Bounds": "0,0,220,59", (Increased the thiccness of the area so the X button can move up and down more.)


"CloseButton": {
    "Bounds": "188,6,26,25", (Higher the number lower it goes.)
    "Padding": "3,6,0,0",
    "AlignmentEdgeDistances": "0,0,6,-10",
    "AlignmentTransform": "0,0",
    "Margin": "0,0,0,0",
    "RenderColor": "200,150,150,150",
    "Alignments": "Top,Right",
    "DrawBackground": true,
    "MinimumSize": "1,1",
    "MaximumSize": "30,30",
    "Disabled": false,
    "Hidden": false,
    "RestrictToParent": true,  (I Changed this to False)
    "MouseInputEnabled": true,
    "HideToolTip": false,
    "ToolTipBackground": null,
    "ToolTipFont": null,
    "ToolTipTextColor": "",
    "TextColor": "0,255,255,255",
    "HoveredTextColor": "",
    "ClickedTextColor": "",
    "DisabledTextColor": "255,90,90,90",
    "TextAlign": "Center",
    "TextPadding": "3,3,3,3",
    "AutoSizeToContents": false,
    "Font": "arial,10",
    "TextScale": 1.0,
    "NormalImage": "closenormal.png",
    "HoveredImage": "closehover.png",
    "ClickedImage": "closeclicked.png",
    "DisabledImage": "",
    "CenterImage": false,
    "HoverSound": "octave-tap-resonant.wav",
    "MouseUpSound": "",
    "MouseDownSound": "octave-tap-warm.wav",
    "ClickSound": ""
  },

 

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