Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ch 7 - vGrow and hGrow shorthand extension properties are vgrow and hgrow respectively #136

Open
abmyii opened this issue Nov 4, 2020 · 0 comments

Comments

@abmyii
Copy link

abmyii commented Nov 4, 2020

In Ch 7. this example is given:

You can use a shorthand extension property for vGrow without calling vboxConstraints().

vbox {
    button("Button 1") {
           vGrow = Priority.ALWAYS
    }
    button("Button 2")
}

The shorthand extension property is vgrow (without a capital G), and the same applies to hGrow and hgrow.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant