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

feat: Smooth Dialog with an axis for buttons #2587

Merged
merged 2 commits into from
Jul 14, 2022

Conversation

g123k
Copy link
Collaborator

@g123k g123k commented Jul 12, 2022

In some dialogs, using a horizontal axis for the two buttons is not a good idea, as the content may be shrunk:
Screenshot_1657652612

This PR introduces the ability to pass an axis and thus have the button on a vertical axis:
Screenshot_1657653755

@g123k g123k self-assigned this Jul 12, 2022
@g123k g123k requested a review from a team as a code owner July 12, 2022 19:24
@teolemon teolemon merged commit 4255a5f into openfoodfacts:develop Jul 14, 2022
g123k added a commit that referenced this pull request Jul 15, 2022
teolemon pushed a commit that referenced this pull request Jul 15, 2022
g123k added a commit to g123k/smooth-app that referenced this pull request Jul 18, 2022
teolemon pushed a commit that referenced this pull request Aug 18, 2022
* Revert "Revert "feat: Smooth Dialog with an axis for buttons (#2587)" (#2608)"

This reverts commit 6b52473.

* Many fixes

* Small doc + Title & Cross in separated widgets

* Increase a little bit the line height to improve readability

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
@g123k g123k deleted the horizontal_buttons_dialog branch December 30, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants