small initial dialog size in transactiondescdialog.ui #5906

issue microcai opened this issue on March 16, 2015
  1. microcai commented at 5:25 AM on March 16, 2015: none

    When in HiDPI settings, transactiondescdialog is too small initially, though it is re-sizable. the reason is that it uses hard-coded size in .ui file. hard-coded to have size

    <width>620</width>
    <height>250</height>
    

    That's problematic on platform that don't use pixel ratio, but just pre-monitor DPI settings, like windows >= 8 and Linux.

    initial size should be set by overloadding sizeHint() and use this->fontMetrics() to calculate a proper size.

  2. microcai commented at 5:30 AM on March 16, 2015: none

    initial size: qq <span class='font-monospace text-info'>20150316133024</span>

    well, it should be qq <span class='font-monospace text-info'>20150316133104</span>

  3. laanwj added the label GUI on May 18, 2015
  4. Diapolo commented at 4:09 PM on May 25, 2015: none

    @jonasschnelli Mind having a look? You're the HiDPI expert ^^.

  5. jonasschnelli commented at 6:00 PM on May 25, 2015: contributor

    Yes. There are serval HiDPI issues on Linux. But IMO its mostly a upstream Qt issue. HiDPI works fine on mac and it should also work fine on Linux and Win (if Qts HiDPI behavior would be platform independent). I strongly discourage from adding linux specific HiDPI fixes (especially #ifdefs!). Well, there are some things like font size definitions which should/could be changed to allow more flexible size calculations (like #5898).

    I have a Linux/Ubuntu HiDPI setup ready and i'd like to test soon a bitcoin-qt with Qt5.4. If there are still things on "our side" to cure, i'd like to see them fixed together in on PR.

  6. laanwj commented at 10:04 AM on November 11, 2015: member

    The issue for tracking this is #6472

  7. laanwj closed this on Nov 11, 2015

  8. DrahtBot 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