Skip to content

Enhance dialog responsiveness #268

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

isuri54
Copy link

@isuri54 isuri54 commented Apr 6, 2025

Fixes #

Describe the changes you have made in this PR -
Improved the responsiveness of dialogs in create_join_dialog.dart to better adapt across screen sizes.
-Replaced fixed heights (e.g., 30.h, 25.h, 12.h) with mainAxisSize: MainAxisSize.min
-Updated padding from fixed values (EdgeInsets.symmetric(horizontal: 32, vertical: 16)) to percentage-based (EdgeInsets.symmetric(horizontal: 8.w, vertical: 2.h)) for consistent scaling
-Removed unnecessary Container wrappers to streamline the layout

Screenshots of the changes (If any) -
Due to Gradle build issues, I couldn’t generate screenshots. The changes are untested but based on static analysis.
Expected outcome: dialogs now resize dynamically without truncation, with consistent padding and button sizes across devices.

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

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 this pull request may close these issues.

1 participant