Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bind functionality #84

@rutenkolk

Description

@rutenkolk

Support Question

Hello there, first of all, thank you for this wonderful library.
I've been using it instead of regular javafx for the fast few while and I really enjoy using it. However I have encountered a few roadblocks.
What would be the correct way to emulate the infamous "fit-to-parent" AnchorPane functionality? My so far unsuccessful approach was something like this:

(controls/anchor-pane
  :children 
    [(controls/some-control 
      :anchor-pane/top-anchor 0.0
      :anchor-pane/bottom-anchor 0.0
      :anchor-pane/left-anchor 0.0
      :anchor-pane/right-anchor 0.0)])

But for some controls (ImageView cough) I know, this just won't cut it in the long run. So are there major hurdles for the nested-properties branch to get merged? I looked at the source and am looking forward to the :bind/property syntax with [:id :prop] values. I don't really get the complete picture of what is depending on what right now, but with some pointers I would like to look into this and help if possible/necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions