NeXT TypedStream Data | 1991-05-22 | 9KB | 140 lines
typedstream
StreamTable
HashTable
Object
[20c]
typedstream
[667c]
typedstream
HashTable
Object
FirstResponder
HeaderClass
%%%%i@@
firstnib
checkSpelling:
alignSelCenter:
unscript:
pasteFont:
runPageLayout:
superscript:
copyRuler:
copyFont:
selectAll:
pasteRuler:
toggleRuler:
showGuessPanel:
printPSCode:
alignSelLeft:
paste:
performClose:
arrangeInFront:
subscript:
copy:
alignSelRight:
delete:
orderFrontColorPanel:
underline:
performMiniaturize:
BananaSplit
genericobject_nib
aField
bottomView
doubleView
topView
aButton
[7905c]
typedstream
HashTable
Object
NXImage
NXBitmapImageRep
NXImageRep
iissssFg
[1854c]
NibData
@@@@s
Storage
{*@@}
[23{*@@}]
File's Owner
CustomObject
Application
MainMenu
MenuTemplate
*@*@ccc
BananaSplit
Matrix
Control
Responder
@:@iiii
MenuCell
ButtonCell
ActionCell
Info...
Helvetica
Paste
Select All
ff@@#::s
submenuAction:
Bitmap
menuArrow
MyWindow
WindowTemplate
iiii***@s@
Banana Split
Window
CustomView
NXSplitView
BananaSplitInstance
Offscreen
Offscreen Panel
Panel
ScrollView
ClipView
ciifffcfffs
[654c]{\rtf0\ansi{\fonttbl\f1\fswiss Helvetica;}
\margl40
\margr40
\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f1\b0\i0\ul0\fs28 Why is this interesting?\
When you have an NXSplitView, and it is resized, sometimes the automatic resizing gives you subviews that are too small to contain all the objects that are in the NXSplitView. As a result, controls may be chopped off, and sometimes lost. In this example, window resizing and NXSplitView resizing are constrained to avoid this. The layout method is also overridden. In order to achieve this, the minimum sizes had to be derived empirically (by playing with them).
This example shows how to handle resizing with an NXSplitView. The NXSplitView is constrained when it is resized and subviews are always allocated adequate space. \