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 ...

Get MEL Scripting for Maya Animators, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.