Following tutorial to build weather dashboard Anvil | Build your user interface
**Tried dragging and dropping a label and button in flow panel. I want both the components to align in the same row as mentioned in tutorial but for me the second component always moves to next line and takes 100% width **
Code Sample:
# this is a formatted code snippet.
# paste your code between ```
Clone link:
share a copy of your app
Welcome to the forum!
Fine control can take a bit of practice. Try this tip: While you’re dragging the second component, watch closely. Anvil’s IDE will show you where it will land. When it gets close, you may need to slow down and move your cursor slowly, in various directions, to get the insertion point to “hop” to the intended location. Don’t let go of the component until the intended location is highlighted.
2 Likes
Another way that I think can be really helpful when you are trying to get components to nest the way you want is to use the Components panel.
I often will use this panel to get components into flow panels.
1 Like
Yes, I forgot! As @racersmith points out, you can drag and drop outline entries (components) vertically within this panel.