Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.3, 1.7-beta-1
-
Fix Version/s: 1.6.4, 1.7-beta-1
-
Component/s: Swing
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
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)
}
}
}
Activity
Andres Almiray
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Danno Ferrin [ shemnon ] |
Andres Almiray
made changes -
| Attachment | jcomponent-size-binding.2.patch [ 43124 ] | |
| Summary | Enable JCOmponent.size to be bindable | Enable JComponent.size to be bindable |
Danno Ferrin
made changes -
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | 1.6.4 [ 15291 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 1.7-beta-1 [ 14014 ] |
Danno Ferrin
made changes -
| Affects Version/s | 1.7-rc-1 [ 14666 ] | |
| Affects Version/s | 1.7-beta-1 [ 14014 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |