Monthly Archives: May 2010

JavaFX 1.3: Growing, Shrinking and Filling

Establishing dynamic sizing behavior is one of the trickier aspects of GUI layout.   For JavaFX 1.3, we’ve introduced the grow/shrink/fill layout preferences on Resizable nodes to support more sensible default resizing behavior of controls and containers out of the … Continue reading

Posted in Uncategorized | 10 Comments

JavaFX 1.3: Managed Gets Promoted

Sometimes a node just doesn’t want its parent messing with its size or position.  In 1.2 you could use LayoutInfo to mark a node as ‘unmanaged’ to tell its parent Container not to factor it into layout and this concept … Continue reading

Posted in Uncategorized | 6 Comments

JavaFX 1.3: Autosizing Everywhere

Resizable nodes (Controls & Containers) generally know best how big they should be and they express this from the inside-out through their “preferred size”; as the node’s internal state changes (content, styling, etc), it’s preferred size usually also changes. When … Continue reading

Posted in Uncategorized | 5 Comments