[Qt] Add option to increase/decrease font size in the console window #7396

pull jonasschnelli wants to merge 3 commits into bitcoin:master from jonasschnelli:2016/01/qt_font changing 9 files +203 −30
  1. jonasschnelli commented at 5:06 PM on January 22, 2016: contributor

    Allows to increase/decrease the console font size. Font size will be persisted over QSettings (survives a restart). Default size is unified over all platform. Rearranged the "clear icon" and the ">" (shell prompt).

    Possible future extension: allow switching between system default- and monospace-font.

    <img width="895" alt="bildschirmfoto 2016-01-22 um 18 00 26" src="https://cloud.githubusercontent.com/assets/178464/12517327/679a5f8c-c132-11e5-826a-fa97d2bd0349.png">

  2. jonasschnelli added the label GUI on Jan 22, 2016
  3. paveljanik commented at 6:44 PM on January 22, 2016: contributor

    Doesn't link here.

    This was bug in my build scripts (the new files in icons/... were missing).

  4. paveljanik commented at 7:33 PM on January 22, 2016: contributor

    While compiling:

    qt/forms/debugwindow.ui: Warning: The name 'horizontalLayout' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout1'.
    
  5. jonasschnelli force-pushed on Jan 22, 2016
  6. jonasschnelli commented at 7:36 PM on January 22, 2016: contributor

    @paveljanik: Thanks! Fixed the "already in use" warning and added the missing icon (travis should be happy now).

  7. paveljanik commented at 7:38 PM on January 22, 2016: contributor

    Works OK here.

    Nits: the warning above. The tooltips contain Caps Text (Decrease _F_ont _S_ize) - compare with Clear _c_onsole.

  8. paveljanik commented at 7:38 PM on January 22, 2016: contributor

    @jonasschnelli IIRC icons were OK on your side - this was my local issue :-)

  9. jonasschnelli force-pushed on Jan 22, 2016
  10. jonasschnelli force-pushed on Jan 22, 2016
  11. laanwj commented at 8:44 PM on January 22, 2016: member

    Concept ACK, nice, this should end the complaints about the font size.

  12. jonasschnelli force-pushed on Jan 22, 2016
  13. [Qt] Add option to increase/decrease font size in the console window 3a3a927325
  14. jonasschnelli force-pushed on Jan 22, 2016
  15. paveljanik commented at 9:25 PM on January 22, 2016: contributor

    Concept ACK.

  16. achow101 commented at 10:30 PM on January 22, 2016: member

    Tested ACK 3a3a927

    Nit: can it be done so that it doesn't jump back to the top of the window? It requires that you have to scroll all the way down if the size is changed when there is a lot of text there.

  17. [Qt] keep scroll position in GUI console after changing font size 56c9e66a6d
  18. jonasschnelli commented at 11:07 PM on January 22, 2016: contributor

    Added another commit. Now the scroll-list keeps the vertical position (percentage) after changing the font size.

    Would be nice if someone could re-test.

  19. achow101 commented at 12:58 AM on January 23, 2016: member

    Tested re-ACK 56c9e66

  20. paveljanik commented at 6:34 AM on January 23, 2016: contributor

    Fontsizes are OK, vertical scrollbar OK. But I do not like the cursor change (but maybe this is because I'm too old to remember real cursors ;-).

  21. jonasschnelli force-pushed on Jan 23, 2016
  22. jonasschnelli commented at 9:07 AM on January 23, 2016: contributor

    agree with @paveljanik: (re)added a Icon that indicates the promot line. Removed the placeholder text in the input field itself. Also added copyright attributions.

  23. paveljanik commented at 10:58 AM on January 23, 2016: contributor

    The new icon is good :-))

  24. paveljanik commented at 9:30 AM on January 24, 2016: contributor

    There is "Decrease font size" tooltip over the new prompt icon (probably cut&paste issue):

    <img width="189" alt="screen shot 2016-01-24 at 10 27 05" src="https://cloud.githubusercontent.com/assets/6848764/12535488/563a2304-c285-11e5-9bab-dcb7bfeea6ed.png">

  25. jonasschnelli force-pushed on Jan 26, 2016
  26. [Qt] Add a new chevron/arrow icon for the console prompt line 43abb02aa2
  27. jonasschnelli force-pushed on Jan 26, 2016
  28. jonasschnelli commented at 2:36 PM on January 26, 2016: contributor

    Fixed the wrong tooltip on the prompt icon. @paveljanik: mind doing a final re-test?

  29. paveljanik commented at 3:52 PM on January 26, 2016: contributor
  30. jonasschnelli merged this on Jan 28, 2016
  31. jonasschnelli closed this on Jan 28, 2016

  32. jonasschnelli referenced this in commit cdcbc59a42 on Jan 28, 2016
  33. MarcoFalke commented at 11:22 AM on January 30, 2016: member

    Awesome! Post merge Tested ACK

  34. cddjr referenced this in commit 7e27df69fd on Apr 5, 2017
  35. cddjr referenced this in commit 06ae0839ac on Apr 6, 2017
  36. codablock referenced this in commit 4b3373c274 on Sep 5, 2017
  37. codablock referenced this in commit f3a24c0a0e on Sep 5, 2017
  38. UdjinM6 referenced this in commit 690cb58f80 on Sep 7, 2017
  39. MarcoFalke locked this on Sep 8, 2021

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-21 18:15 UTC

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