ZBrushCentral

Question: FIrst ISwitch not showing [SOLVED]

So I got this weird issue happening where my first switch just refuses to show up. The other ones are showing up fine. Does anyone have any idea what’s happening? Here is the code:

//------------------------------==| UI |==--------------------------------------------------------\\
//Main Pallete
    [ISubPalette, "Zplugin:Test Enviroment", 0, , 0, 0, 0, 0]
    [ISubPalette, "Zplugin:Test Enviroment:Hard Surface Tools", 0, , 0, 0, 0, 0]


//Dropdowns Pallete
    [ISubPalette, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns", 0, , 0, 0, 0, 0]

        [ISwitch, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 1", 1, "Toggle this switch",
            [Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 1 switch pressed"]
            ,
            [Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 1 switch unpressed"]
        ,0, 0, 0]

        [ISwitch, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 2", 1, "Toggle this switch",
            [Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 2 switch pressed"]
            ,
            [Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 2 switch unpressed"]
        ,0, 0, 0]

        [ISwitch, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 3", 1, "Toggle this switch",
            [Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 3 switch pressed"]
            ,
            [Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 3 switch unpressed"]
        ,0, 0, 0]

Only happens with [ISwitch] buttons and sliders are working fine

Managed to fix it turns out if you use 0 for auto width it just messes up for some reason. By setting the width to 1 for example it works

I have modified it for you based on your existing code and just copy it in. I hope it can help you.
Edward Jewelry

//------------------------------==| UI |==--------------------------------------------------------\\
//Main Pallete
[ISubPalette, "Zplugin:Test Enviroment", 0, , 0, 0, 0, 0]
[ISubPalette, "Zplugin:Test Enviroment:Hard Surface Tools", 0, , 0, 0, 0, 0]

//Dropdowns Pallete
[ISubPalette, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns", 0, , 0, 0, 0, 0]
	[ISwitch,"Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 1",
		1,
		"Toggle this switch 1",
		[Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 1 switch pressed"],
		[Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 1 switch unpressed"],
		0,
		1
	]
	
	[IEnable,"Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 1"]

    [ISwitch, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 2", 1, "Toggle this switch 2",
        [Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 2 switch pressed"]
        ,
        [Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 2 switch unpressed"]
    ,0, 0, 0]
	[IEnable,"Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 2"]
		
    [ISwitch, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 3", 1, "Toggle this switch 3",
        [Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 3 switch pressed"]
        ,
        [Note, "Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 3 switch unpressed"]
    ,0, 0, 0]
	[IEnable,"Zplugin:Test Enviroment:Hard Surface Tools:Dropdowns:My Switch 3"]