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

Size popup proportional to amount of text shown #5424

Merged
merged 1 commit into from Apr 21, 2021

Conversation

ghost
Copy link

@ghost ghost commented Apr 20, 2021

This is a followup to #5399 which cleans up a minor display issue.

CashByMail terms are defined by the offer maker, some users have only 1 line of text, others have a lengthy contract.
For the cases where only 1 line is shown, the large popup taking the whole screen looks a bit ridiculous, so here we vertically size the popup proportional to the number of lines in the message (with limits to not be < 20% or > 70% of allowable height).


Here are some example screenshots comparing the results with lots of text, and just one line.

image

image

@ghost ghost force-pushed the cashbymail_enhance_terms2 branch from c10fb54 to ca98975 Compare April 20, 2021 22:36
Copy link
Member

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ripcurlx ripcurlx added this to the v1.6.3 milestone Apr 21, 2021
@ripcurlx ripcurlx merged commit 57adbdc into bisq-network:master Apr 21, 2021
@ghost ghost mentioned this pull request May 4, 2021
@ghost ghost deleted the cashbymail_enhance_terms2 branch May 29, 2022 22:46
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.

None yet

1 participant