diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-11 20:47:09 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-11 20:47:09 -0600 |
commit | 1e2fbea2e6d4ab319763c6ffb35e4e4acdd4d5f5 (patch) | |
tree | 37bce8dccfbb32a87f9f206dd6affa93da03ab2a /src/gui/buysell.cpp | |
parent | daf0d9e183456b30ffebfddfbcb2da2946c32e1d (diff) | |
download | mana-1e2fbea2e6d4ab319763c6ffb35e4e4acdd4d5f5.tar.gz mana-1e2fbea2e6d4ab319763c6ffb35e4e4acdd4d5f5.tar.bz2 mana-1e2fbea2e6d4ab319763c6ffb35e4e4acdd4d5f5.tar.xz mana-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.cpp | 2 |
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(); } |