Re: [script] Center ppg button

Date : Fri, 02 Sep 2005 12:11:25 -0700
To : XSI(at)Softimage.COM
From : "Bradley R. Gabe" <brad(at)cg-soup.com>
Subject : Re: [script] Center ppg button
I've always used non-titled groups in a row to control horizontal layouts:

PPGlayout.AddRow();
        PPGlayout.AddGroup('',false, 30);
        PPGLayout.EndGroup();

        PPGlayout.AddGroup('',false, 40);
        PPGLayout.AddButton('Activate The Enforcer');

        PPGlayout.AddGroup('',false, 30);
        PPGLayout.EndGroup();
PPGlayout.EndRow();


It's a bit lengthy, but gets the job done.


Hello, a quickie:

Is there a way to center horizontally a button in a custom property? I
just can't find it (if there is).


Thanks
Bernard

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi

Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.