O'Reilly logo

MEL Scripting for Maya Animators, 2nd Edition by Mark R. Wilkins, Chris Kazmier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Making Advanced Dialog Boxes with formLayout

In this chapter you will learn

  • Why formLayout, which is the most complicated layout type in MEL, is also the most powerful.

  • How formLayout demands that you think about laying out controls in your dialog box.

  • What formLayout can do.

  • How you should structure your MEL code to build a dialog box with formLayout.

Why Use formLayout?

Unlike the other types of layout objects, such as rowLayout and columnLayout, formLayout offers the ability to precisely place the controls in a dialog box by specifying exact positions in the dialog for each control. Also, with formLayout, you can define how controls will move or grow as a window is resized by attaching one or more of each control’s sides to another control ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required