Hints for Chapter 8 Exercise: Rich Buttons #676
-
I can't seem to figure out how to solve the "Rich Buttons" exercise of chapter 8 and was hoping someone can provide me with some pointers. From reading the chapter i know that i have to recurse on the button's children, but i can't figure out how to leverage the existing layouts in order to solve the exercise. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The intended solution was what you did—have an |
Beta Was this translation helpful? Give feedback.
The intended solution was what you did—have an
InlineLayout
inside the button to lay out its children. What problem were you running into? One tricky / important thing to get right is the order in which theInputLayout
computes its fields and recurses into the child layouts.