Custom Main Menu, boutons redimenssionés

Tag_CopperLight

Aventurier
19 Août 2018
6
0
2
34
Bonjour,

Quand je redimensionne ma fenêtre de Minecraft avec Custom Main Menu 1.7.10, les boutons que
j'ai créés ne changent pas de taille et selon la taille de l'écran, ce n'est pas le menu que je veux.

Code:
{
    "images":
    {
        "black":
        {
            "image" : "custommainmenu:textures/gui/menu/bg_menu.png",
            "posX" : 0,
            "posY" : -0,
            "width" : 135,
            "height" : 1500,
            "alignment" : "top_left"
        },
        "title":
        {
            "image" : "custommainmenu:textures/gui/menu/title.png",
            "posX" : -215,
            "posY" : 15,
            "width" : 105,
            "height" : 50,
            "alignment" : "top_center"
        }
            
    },
    
    "buttons":
    {
        "Play":
        {
            "text" : "Play",
            "posX" : -216,
            "posY" : 48,
            "width" : 105,
            "height" : 20,
            "texture" : "custommainmenu:textures/gui/menu/btn.png",
            "action" :
            {
                "type" : "connectToServer",
                "ip" : "manaip.ddns.net"
            }
        },
        
        "options":
        {
            "text" : "Options",
            "posX" : -216,
            "posY" : 88,
            "width" : 105,
            "height" : 20,
            "texture" : "custommainmenu:textures/gui/menu/btn.png",
            "action" :
            {
                "type" : "openGui",
                "gui" : "options"
            }
        },
        
        "quit":
        {
            "text" : "Quit",
            "posX" : -216,
            "posY" : 128,
            "width" : 105,
            "height" : 20,
            "texture" : "custommainmenu:textures/gui/menu/btn.png",
            "action" :
            {
                "type" : "quit"
            }
        }
        
    },
    
    "texts":
    {
        
        "fml":
        {
            "text" : "",
            "posX" : 1500,
            "posY" : -50,
            "color" : -1,
            "alignment" : "bottom_left"
        }
    },
    
    "other":
    {
        
        "background":
        {
            "image" : "custommainmenu:textures/gui/menu/city.png",
            "mode" : "stretch"

        }
    }
}

Merci d'avance,

Tag_CopperLight