[bisq-network/bisq] Trigger price truncation of prompt text not working (#5189)

Alva Swanson notifications at github.com
Wed Dec 8 20:26:58 CET 2021


This turned out to be tricky. There are two bugs:
1. The shield icon is drawn on top of the prompt text. (I fixed this already!)
2. The default TextField class (InfoInputTextField inherits from it) class aligns the prompt text to the right by default. Changing the alignment to the left does not solve the problem because the text is still too long.

There are multiple solutions:
1. Make the text boxes larger so that the prompt text is shown fully. In this case, we have to apply the same size to the text box above (the larger width out of both); otherwise, it looks weird.
2. Truncate the text, but I'm not sure if this makes sense in every language.
3. Use shorter prompt texts (like the fix you applied to German)

How it looks after solving problem number one:
![bisq_prompt_text_shield_fix](https://user-images.githubusercontent.com/95712046/145271263-db085a08-df06-40ee-9eac-5a86f92ecc8d.png)



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/5189#issuecomment-989128124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211208/5be5a294/attachment.htm>


More information about the bisq-github mailing list