aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-04-26 07:38:24 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-04-26 07:38:24 +0200
commit1a31428ec0b1dcf692edd454744b15cc3bee7a4c (patch)
treeb455a5b725136613efd3a2ac0392fcf4a56d6608
parent840e89e3a1fa26d5730a91a1cc3ea3dda98e1e3f (diff)
qt: remove extraneous padding introduced in multiwallet support patch
solve issue #2529
-rw-r--r--src/qt/walletframe.cpp2
-rw-r--r--src/qt/walletstack.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp
index b5947caf3a..83e4255c9f 100644
--- a/src/qt/walletframe.cpp
+++ b/src/qt/walletframe.cpp
@@ -20,8 +20,10 @@ WalletFrame::WalletFrame(BitcoinGUI *_gui) :
{
// Leave HBox hook for adding a list view later
QHBoxLayout *walletFrameLayout = new QHBoxLayout(this);
+ setContentsMargins(0,0,0,0);
walletStack = new WalletStack(this);
walletStack->setBitcoinGUI(gui);
+ walletFrameLayout->setContentsMargins(0,0,0,0);
walletFrameLayout->addWidget(walletStack);
}
diff --git a/src/qt/walletstack.cpp b/src/qt/walletstack.cpp
index 42d86956be..9e3060e86b 100644
--- a/src/qt/walletstack.cpp
+++ b/src/qt/walletstack.cpp
@@ -16,6 +16,7 @@ WalletStack::WalletStack(QWidget *parent) :
clientModel(0),
bOutOfSync(true)
{
+ setContentsMargins(0,0,0,0);
}
WalletStack::~WalletStack()