Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.3, 1.7-beta-1
-
None
-
Patch
Description
It would be great to have JComponent.size be bindable via synthetic properties, gfxbuilder's nodes will benefit a lot if they are able to bind to its container's dimensions.
Including patch for review.
Sample usage:
swing.edt { frame(size: [300, 100], visible: true) { panel(id: "p") { textField(text: bind{p.size.width}, columns: 20) } } }