Types of Slots Editors

viewJustify

You set the justification of one view relative to another in this editor. Views can be justified relative to the view's sibling or to the parent. The default settings are parent relative top and left. Note that you can also set the internal justification of graphics and text (see FIGURE A.36).

FIGURE A.36 : The viewJustify slot editor.



Caution:Bad Bug Alert! If you change the sibling justification, the viewJustify slot editor automatically changes the parent justification to match. This is awful because you'll rarely want parent to be the same as sibling justification; make sure to reset the parent justification to one of those two values after modifying the sibling justification.



Caution:NTK doesn't always display the template locations correctly in the Layout window when you use full justification.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996