Sheet:
Filter:
crucial-library/Classes (extension) | Libraries > crucial > GUI

Sheet
ExtensionExtension

utility to create a single auto-resized window

Description

The name sheet comes from Cocoa where a Sheet is the window that slides down asking you to deal with something (like a license agreement).

In practice, since the Sheet syntax is so convienient, its been used for many cases where a window with auto-resizing is wanted.

Class Methods

.new

Arguments:

buildDialog
name
bounds

.getString

Arguments:

prompt
defaultString
callback

Examples

Although the composite view inside has been shrunk down to fit its contents, the flow view's decorator still has the large size accounted for as "used up" (the maximum that was available for the composite view to consume).

solution: