summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-11 20:47:09 -0600
committerIra Rice <irarice@gmail.com>2009-03-11 20:47:09 -0600
commit1e2fbea2e6d4ab319763c6ffb35e4e4acdd4d5f5 (patch)
tree37bce8dccfbb32a87f9f206dd6affa93da03ab2a /src/gui/buysell.cpp
parentdaf0d9e183456b30ffebfddfbcb2da2946c32e1d (diff)
downloadmana-client-1e2fbea2e6d4ab319763c6ffb35e4e4acdd4d5f5.tar.gz
mana-client-1e2fbea2e6d4ab319763c6ffb35e4e4acdd4d5f5.tar.bz2
mana-client-1e2fbea2e6d4ab319763c6ffb35e4e4acdd4d5f5.tar.xz
mana-client-1e2fbea2e6d4ab319763c6ffb35e4e4acdd4d5f5.zip
Centered buy/sell dialog.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/buysell.cpp')
-rw-r--r--src/gui/buysell.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index f7684670..2022b040 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -51,6 +51,8 @@ BuySellDialog::BuySellDialog(Network *network):
setContentSize(x, 2 * y + buyButton->getHeight());
+ setLocationRelativeTo(ImageRect::CENTER);
+
requestFocus();
}