Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertically align all buttons in the message input bar to the bottom #337

Closed
kevinaboos opened this issue Jan 21, 2025 · 0 comments · Fixed by #358
Closed

Vertically align all buttons in the message input bar to the bottom #337

kevinaboos opened this issue Jan 21, 2025 · 0 comments · Fixed by #358
Assignees

Comments

@kevinaboos
Copy link
Member

As reported by @ymote, when many many lines of text are inputted into the message bar's TextInput widget, the height of the widget will grow until it is off-screen. Because the Location and Send buttons are vertically-aligned to the center of the message bar's height, they may also be displayed off-screen.

Since Makepad does not yet have support for internally-scrollable TextInput views, we cannot set a cap on its height just yet.

Instead, a quick/easy fix for this would be to vertically align all elements to the bottom of the message input bar, and then add some bottom margin in order to make it centered with the typical one-line height of the message TextInput.

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 a pull request may close this issue.

1 participant