Jump to content
  • 0

InventoryWindows.json - Close Button Position


Ainz Ooal Gown

Question

Hi,

 

I changed the GUI for the Inventory to be bigger and sorted out the alignment for most things, but I cant seem to get the "CloseButton" to change its bounds. When i set the bounds to:

 

  "CloseButton": {
    "Bounds": "378,1,20,20",

 

It does not change it in game, and when I go back to NotePad++ and update the file it has reverted the Bounds to:

 

  "CloseButton": {
    "Bounds": "-10,1,20,20",

 

Any ideas on what will be doing that?

 

Here is what my Inventory looks like:

557ffc9947d97caccb2da7876f606127.jpg

 

Thanks In Advance :)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
  Reveal hidden contents

 

Link to comment
Share on other sites

  • 0
  On 1/13/2019 at 10:07 PM, jcsnider said:

The close button is contained within the Titlebar.  Your titlebar only has a width of 10px in that json.

 

If you set your titlebar bounds to the following it should look better:

  "Titlebar": {
    "Bounds": "0,0,413,24",ο»Ώ

 

 

Expand  

That worked a treat! Sorry I'm still learning :P

 

Thanks buddy

Link to comment
Share on other sites

Γ—
Γ—
  • Create New...