[gui] visual "overflow" of amount input #13231

issue marcoagner opened this issue on May 14, 2018
  1. marcoagner commented at 9:52 AM on May 14, 2018: contributor

    There is at least an annoyance in the way amount input is presented when sending coins or creating payment requests. I don't really use the GUI so I'm not sure if this happens in other places.

    Here is the screenshot of both boxes when inputting the number 15: screenshot from 2018-05-14 10-23-23 screenshot from 2018-05-14 10-23-54 **note: just in case somebody wonders, the global dark theme doesn't make a differente on this; same behavior with light/default patterns.*

    My expected behavior is that, at least, I can see the most significant digits in the amount and, at best, I can see it all when space allows it. What is happening is that I input 15 and unnecessarily end up seeing 5.00000000. The number is complete inside the input as 15.00000000 so it is not really a functionality problem but it can be both annoying and misleading in some cases.

    I can reliably reproduce this on v0.16.0 (and master) running on a Fedora 27 using GNOME 3 and qt5. Tried it on an colleague's OSX and could not reproduce the issue; the input seemed fine. I'm opening this in case it is an issue for more users.

  2. fanquake added the label GUI on May 14, 2018
  3. jonasschnelli commented at 7:37 AM on May 16, 2018: contributor

    The amount spin box (custom class) has setAlignment(Qt::AlignRight); which could be switch to left... The field has also a max length of amount->setMaximumWidth(170); which could be increased.

  4. jonasschnelli added the label good first issue on May 16, 2018
  5. brandontruggles commented at 1:16 PM on May 16, 2018: contributor

    Hello, I'd like to work on this! I'll try having a PR ready in a few days.

  6. marcoagner commented at 3:38 PM on May 16, 2018: contributor

    Sure, go on! Thanks.

  7. laanwj closed this on May 24, 2018

  8. laanwj referenced this in commit f8be434133 on May 24, 2018
  9. PastaPastaPasta referenced this in commit de56b61b96 on Jun 17, 2020
  10. PastaPastaPasta referenced this in commit 28bfdef125 on Jun 27, 2020
  11. PastaPastaPasta referenced this in commit b858211051 on Jun 28, 2020
  12. PastaPastaPasta referenced this in commit d2605f8d39 on Jun 29, 2020
  13. PastaPastaPasta referenced this in commit cd1dc46115 on Jul 1, 2020
  14. MarcoFalke locked this on Sep 8, 2021
  15. gades referenced this in commit db165bb1c1 on Mar 10, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me