Skip to content

Comments

Changes Card-Stack-Layout (chapter 5)#17

Open
dgruntz wants to merge 3 commits intoeppleton:masterfrom
dgruntz:kap-5
Open

Changes Card-Stack-Layout (chapter 5)#17
dgruntz wants to merge 3 commits intoeppleton:masterfrom
dgruntz:kap-5

Conversation

@dgruntz
Copy link
Contributor

@dgruntz dgruntz commented Aug 15, 2018

Adds the invocation of
cardStackLayout.setMinHeight(200);
to the top card stack otherwise the first row disappears if all cards have been moved to the second row (for symmetry reasons this min height is set on both cardStackLayout instances).

Moreover, instead of passing
new StackPane(iconView)
new StackPane(anchorPane)
to the new scene, you could also simply pass the
iconView
anchorPane
to the scene.

Ok, the StackPane would allow to add additional controls, but this is not used here.

dgruntz added 3 commits August 4, 2018 00:14
instead of passing
    new StackPane(iconView)
    new StackPane(anchorPane)
to the new scene, you could also simply pass the
    iconView
    anchorPane
to the scene.

Ok, the StackPane would allow to add additional controls, but this is
not needed here.
Adds the invocation of
   cardStackLayout.setMinHeight(200);
to the top card stack otherwise the first row disappears if all cards
have been moved to the second row.

For symmetry reasons this min height is set on both cardStackLayout
instances.
Removes the header which was generated by Eclipse.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant