Messenger-like layout grid
Hi there,
I need your opinion since I don't know how to make it work : i want a grid with one column, in which i would like to add panels of variable height (but full width).
It seems pretty simple, but I need it to be like in messenger (Facebook) or in your sms app : you add a new panel (in C#) -> it goes to the bottom and everything above is pushed top. You can scroll to previous panels (messages) easily.
Of course, I can create a canvas, change its position and height while I add new panels, but it seems really complicated. Can you help me please using "scroll rect", "content size fitter", "vertical layout group" and cie in the right order to make it work ?
Right now I have :
Scroll view with content size fitter (unconstrained)
View port
Content
Canvas with Vertical Layout Group (no child controls but child force on width)
multiple panels of different height
I can scroll, but when I add a panel it doesnt push to the top and doesnt resize anything.
Your answer
Follow this Question
Related Questions
Position object over center of cell of Grid Layout Group 0 Answers
Liquid layout - grid layout Group 0 Answers
¿Como puedo hacer un Grid como Editor solo con ciertas medidas en 2D? (Como Geometry Dash) 0 Answers
Horizontal/Vertical Layout Group forcing control? 0 Answers
Dynamic textbox within panel contraint 0 Answers