aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2019-09-30 11:28:16 +0200
committerWladimir J. van der Laan <laanwj@protonmail.com>2019-09-30 11:28:24 +0200
commitd6026ec874e69d3e2023848a03832eb3573dc3a5 (patch)
tree42bc65f6eb9c915f6eb62c4a6bc02508460a5bc1 /src
parent942e275018e17ddf0169f02dced0b97b854e87c1 (diff)
parent8cf9898b53d74bd474cc5188e07e671e24a3791f (diff)
downloadbitcoin-d6026ec874e69d3e2023848a03832eb3573dc3a5.tar.xz
Merge #16971: qt: Change default size of intro frame
8cf9898b53d74bd474cc5188e07e671e24a3791f qt: Change default size of intro frame (Emil Engler) Pull request description: Because of the new pruning feature in the intro frame, the size of the intro frame is too small. Like you see, some text is not visible completely. ### Before ![Before](https://i.imgur.com/ppZ3Gf9.png) ### After ![After](https://i.imgur.com/wcElqLA.png) Update: I changed it so it adjusts the size dynamically ACKs for top commit: fanquake: ACK 8cf9898b53d74bd474cc5188e07e671e24a3791f - Before and after macOS screens below. Given that most users will only ever see this screen once, I think Qts best effort to dynamically size it is fine. jonasschnelli: utACK 8cf9898b53d74bd474cc5188e07e671e24a3791f Sjors: Tested ACK 8cf9898 on macOS. English already fit, so to reproduce the issue, launch in German with `-resetguisettings -lang=de`. laanwj: ACK 8cf9898b53d74bd474cc5188e07e671e24a3791f Tree-SHA512: 568b0ae0d5feeda603c0ccf67b5bb3857becea8f22fb98695e1901e662cb1e76377589e39ec743258154d7f6c4a5e544bb003fcc73597400dd427db047392638
Diffstat (limited to 'src')
-rw-r--r--src/qt/intro.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp
index 9e05c63aa0..53c80639b9 100644
--- a/src/qt/intro.cpp
+++ b/src/qt/intro.cpp
@@ -154,6 +154,7 @@ Intro::Intro(QWidget *parent, uint64_t blockchain_size, uint64_t chain_state_siz
storageRequiresMsg.arg(requiredSpace) + " " +
tr("The wallet will also be stored in this directory.")
);
+ this->adjustSize();
startThread();
}