Custom-Main-Menu icon indicating copy to clipboard operation
Custom-Main-Menu copied to clipboard

custom main menu cracks when gui scale is changed

Open pipicat648 opened this issue 4 years ago • 1 comments

SharedScreenshot3 SharedScreenshot SharedScreenshot1 SharedScreenshot2 shared screenshot is when GUI scale is normal, in full screen shared screenshot1 is when GUI scale is large, in full screen shared screenshot2 is when GUI scale is small, in full screen shared screenshot3 is when GUI scale is normal, not fullscreen the version is 1.8.9 forge, with optifine m5

pipicat648 avatar Mar 14 '21 01:03 pipicat648

oh, forgot to send the json file

also, its a custom directory

{ "images": { "title": { "image" : "modpack:logo.png", "posX" : -80, "posY" : 40, "width" : 181, "height" : 89, "alignment" : "top_center" } },

"buttons":
{
    "singleplayer":
    {
        "text" : "menu.singleplayer",
        "posX" : -80,
        "posY" : 50,
        "width" : 190,
        "height" : 45,
        "texture" : "modpack:button_2.png",
        "action" :
        {
            "type" : "openGui",
            "gui" : "singleplayer"
        }
    },

    "multiplayer":
    {
        "text" : "menu.multiplayer",
        "posX" : -80,
        "posY" : 100,
        "width" : 190,
        "height" : 45,
        "texture" : "modpack:button_2.png",
        "action" :
        {
            "type" : "openGui",
            "gui" : "multiplayer"
        }

    },

    "replayviewer":
    {
    "text" : "replaymod.gui.replayviewer",
    "posX" : -80,
    "posY" : 25,
    "width" : 190,
    "height" : 45,
    "alignment" : "center",
    "texture" : "modpack:button_2.png",
    "wrappedButton": 17890234
    },

    "mods":
    {
        "text" : "fml.menu.mods",
        "posX" : 6616616616610,
        "posY" : 106,
        "width" : 80,
        "height" : 20,
        "texture" : "modpack:button.png",
        "action" :
        {
            "type" : "openGui",
            "gui" : "mods"
        }
    },

    "options":
    {
        "text" : "menu.options",
        "posX" : -90,
        "posY" : 300,
        "width" : 95,
        "height" : 45,
        "texture" : "modpack:button_2s.png",
        "action" :
        {
            "type" : "openGui",
            "gui" : "options"
        }
    },

    "quit":
    {
        "text" : "menu.quit",
        "posX" : 30,
        "posY" : 300,
        "width" : 95,
        "height" : 45,
        "texture" : "modpack:button_2s.png",
        "action" :
        {
            "type" : "quit"
        }
    },

    "language":
    {
        "text" : "",
        "posX" : -150,
        "posY" : 305,
        "width" : 36.25,
        "height" : 36.25,
        "texture" : "modpack:lang.png",
        "action" :
        {
            "type" : "openGui",
            "gui" : "languages"
        }
    },

    "refresh":
    {
        "text" : "",
        "posX" : 150,
        "posY" : 305,
        "width" : 36.25,
        "height" : 36.25,
        "texture" : "modpack:refresh.png",
        "action" :
        {
            "type" : "refresh"
        }
    }
},

"labels":
{
    "mojang":
    {
        "text" : "Copyright Mojang AB. Do not distribute!",
        "posX" : -200,
        "posY" : -10,
        "color" : -1,
        "alignment" : "bottom_right"
    },
    
    "alphacl":
    {
"text" : "Alpha Client 1.7",
"posX" : 2,
        "posY" : -10,
        "color" : -1,
        "alignment" : "bottom_left"
    },

    "fml":
    {
        "text" : "",
        "posX" : 2,
        "posY" : -40,
        "color" : -1,
        "alignment" : "bottom_right"
    }
},

"other":
{
    "splash-text":
    {
        "posX" : 100,
        "posY" : 150,
        "color" : -256,
        "alignment" : "top_center",
        "texts" : "beta!"
    },

    "panorama":
    {
        "images" : "modpack:background/panorama_%c.png",
        "animate" : true,
        "animationSpeed" : 2,
        "blur" : true,
        "gradient" : true
    }
}

}

pipicat648 avatar Mar 14 '21 01:03 pipicat648