Labs/Thunderhead/TheBook: Difference between revisions

(Created page with '= The Thunderhead "Book" = As I've been hacking on Thunderhead (aka "Th") I have various things I need to write down, but I haven't decided on a doc format for Th, so just going...')
 
Line 37: Line 37:
{ height: 100, width: 100 }
{ height: 100, width: 100 }


Default implementations of these methods are provided that simply return the component's insets.
Default implementations of these methods are provided to every component; they are as follows:
 
* getPreferredSize: returns left + right insets for width and top + bottom insets for height
* getMinimumSize: returns getPreferredSize
* getMaximumSize: returns getPreferredSize
123

edits