You can’t control the height precisely but you can have about half that by nesting the sub-palettes (with the buttons inside the sub-palettes):
[ISubPalette,“ZPlugin:Test Interface”]
[IButton,“ZPlugin:Test Interface:First Button”, “Do It”, 1]
[IButton,“ZPlugin:Test Interface:Second Button”, “Do It”, 1]
//separator
[ISubPalette,“ZPlugin:Test Interface:Separator1”, 2]
[IButton,“ZPlugin:Test Interface:Separator1:Third Button”, “Do It”, 1]
[IButton,“ZPlugin:Test Interface:Separator1:Fourth Button”, “Do It”, 1]
//separator
[ISubPalette,“ZPlugin:Test Interface:Separator1:Separator2”, 2]
[IButton,“ZPlugin:Test Interface:Separator1:Separator2:Fifth Button”, “Do It”, 1]
[IButton,“ZPlugin:Test Interface:Separator1:Separator2:Sixth Button”, “Do It”, 1]
//separator
[ISubPalette,“ZPlugin:Test Interface:Separator1:Separator2:Separator3”, 2]
[IButton,“ZPlugin:Test Interface:Separator1:Separator2:Separator3:Seventh Button”, “Do It”, 1]
[IButton,“ZPlugin:Test Interface:Separator1:Separator2:Separator3:Eigth Button”, “Do It”, 1]
I’m not sure how much nesting you can do! ZBrush will probably choke at some stage…
For the button code, here are the commas in yellow with comments for each option:
[IButton,“Button Text”,“Popup info Text”
,
/Commands group to execute when button is pressed/
,
/Initially Disabled? (0=Enabled(ByDefault) NonZero=Disabled)/
,
/Button width in pixels (0=AutoWidth NonZero=Specified width)/
,
/Optional hotkey/
,
/Optional button icon (.psd .bmp)/
,
/Button height in pixels (0=AutoHeight NonZero=Specified height)/
]
Additionally the height/width can be specified as a proportion of the palette size where 1 is full width, 0.5 half-width etc., so for height and width values of 0.1 - 1 are proportional and values of 2 and above are actual pixels. In general it’s good to use proportional values as these adjust automatically with different button sizes (as set in Preferences>Interface>Ui).
For the icon a PSD file with transparent background works well - see the main PaintStop button icon file: PaintStopData_4R7_02\BrushIcons\PaintStop-btn.psd
The hotkey option I don’t think is reliable any longer.
HTH,