-
Stretching UI Panel Buttons across resizable panel
Hello!
Another scripting question for you guys.
So I have my whole dockable UI panel filled with buttons but I am slightly stumped on why they are all sticking the the left hand side rather than stretching across the resizable panel? It is resizable because I have the “new Window(“palette”, “Bapple 1.6″, undefined, {resizeable: true});” portion in my script that is making it all work.
Any help would be great. Thanks!
Below is a snippet of two buttons on my panel for creating a directory structure:
// "structure" buttonsvar structGrp = shortcuts.palette.add('group', undefined, 'structure group');
shortcuts.structBtn1 = structGrp.add('button', undefined, 'AE Structure');
shortcuts.structBtn1.onClick = aeStructure;shortcuts.structBtn2 = structGrp.add('button', undefined, 'Directory Structure');