Apple Newton Utilities User's Guide Page 101

  • Download
  • Add to my manuals
  • Print
  • Page
    / 942
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 100
CHAPTER 3
Views
About Views 3-17
1
For views of the clParagraphView class, the vertical alignment constants vjTopV, vjCenterV, and
vjBottomV apply only to paragraphs that also have the oneLineOnly viewJustify flag set.
2
If you are applying horizontal sibling-relative alignment and the view is the rst child, it is positioned according
to the horizontal parent-relative alignment setting.
3
If you are applying vertical sibling-relative alignment and the view is the rst child, it is positioned according to
the vertical parent-relative alignment setting.
Tex t limits
noLineLimits
0(Default) No limits, text wraps to next line.
oneLineOnly
8388608 Allows only a single line of text, with no wrapping.
oneWordOnly
16777216 Allows only a single word. (If the user writes another
word, it replaces the rst.)
Indicate that a bounds value is a ratio
vjNoRatio
0(Default) Do not use proportional alignment.
vjLeftRatio
67108864 The value of the slot viewBounds.left is
interpreted as a percentage of the width of the parent
or sibling view to which this view is horizontally
justied.
vjRightRatio
134217728 The value of the slot viewBounds.right is
interpreted as a percentage of the width of the parent
or sibling view to which this view is horizontally
justied.
vjTopRatio
268435456 The value of the slot viewBounds.top is
interpreted as a percentage of the height of the parent
or sibling view to which this view is vertically
justied.
vjBottomRatio
–536870912 The value of the slot viewBounds.bottom is
interpreted as a percentage of the height of the parent
or sibling view to which this view is vertically
justied.
vjParentAnchored
256 The view is anchored at its location in its parent view,
even if the origin of the parent view is changed. Other
sibling views will be offset, but not child views with
this ag set.
Table 3-1 viewJustify constants (continued)
Constant Value Description
Page view 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 941 942

Comments to this Manuals

No comments