hey all...is there some trick or function I need to use/call for a layout-less dialog to work and display my widgets? mie neer show up...but the dialog opens with no errors
On Mon, Jun 29, 2015 at 6:59 PM, Todd Widup <[email protected]> wrote: > Thanks Justin...hmmm, might try it without again..I tried it once, and it > didn't work, but will see, thanks > > On Sun, Jun 28, 2015 at 8:01 PM, Justin Israel <[email protected]> > wrote: > >> >> >> On Mon, Jun 29, 2015 at 2:49 PM Todd Widup <[email protected]> wrote: >> >>> so since I am still getting use to this..I just want to get this idea >>> straight in my head >>> >>> there is no way in a window to specify the exact placement of a widget, >>> al a a Maya FormLayout. >>> >> >> If you don't use a layout, you get absolute positioning within the parent >> widget. So you can set the position exactly where you want, and it will not >> be moved when the parent resizes. If you don't use a layout and don't set a >> position, all your widgets will pile up at (0,0) >> >> >>> >>> To work around this, you use multiple layouts to create rows and columns >>> to get everything to place nicely..correct? >>> >> >> I'm assuming you mean *within* a QFormLayout? QFormLayout gives you >> 2-column alignment for the labels and the controls. In addition to a string >> or QLabel, you can put any widget you want in the "label" column. And you >> can put any widget into the "control" column. If you need complex controls, >> you can use a layout of widgets in the "control" column, but that should >> still give you proper alignment of labels and controls. >> >> >>> >>> -- >>> Todd Widup >>> Creature TD / Technical Artist >>> [email protected] >>> [email protected] >>> www.toddwidup.com >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Python Programming for Autodesk Maya" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/CABBPk37hLN_VsXk5QS9OOqa-bhBBG6ioe89z8ukMVo-U2uJMOQ%40mail.gmail.com >>> <https://groups.google.com/d/msgid/python_inside_maya/CABBPk37hLN_VsXk5QS9OOqa-bhBBG6ioe89z8ukMVo-U2uJMOQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3kPuvkJMX4r_YsVGZmrd8kcaRnw47rN3U%3DTO%3D%2BGvAXzw%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3kPuvkJMX4r_YsVGZmrd8kcaRnw47rN3U%3DTO%3D%2BGvAXzw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Todd Widup > Creature TD / Technical Artist > [email protected] > [email protected] > www.toddwidup.com > -- Todd Widup Creature TD / Technical Artist [email protected] [email protected] www.toddwidup.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CABBPk36hyA2hvY%2BvXX73u9AOkER7FsA8ow7Axgmrxq62XLeYug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
