I am creating a messaging app and within that, I have a text area at the bottom of the messages with a send button next to it. What I want is for the button to stick to the bottom of the Column Panel when the text area grows.
What I’ve tried and what’s not working:
I have tried creating this CSS role for the Column Panel with both the Text Area and Button in it, but with no luck?
It sound like you might want to use a repeating panel for your messages. As new messages are added, you can do something like: self.repeating_panel_messages.items += [new_message]
And the new message will be added at the bottom of your repeating panel. Any buttons or text boxes you have below the repeating panel will remain below the repeating panel (getting nudged down as you add messages).
Thanks, I was able to get that to work. However, I was really wanting to have them in a column panel so I could prevent wrapping. I always want the text area and button to stay on the same horizontal row. Is there a way to do that?