From 1e2fbea2e6d4ab319763c6ffb35e4e4acdd4d5f5 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Wed, 11 Mar 2009 20:47:09 -0600 Subject: Centered buy/sell dialog. Signed-off-by: Ira Rice --- src/gui/buysell.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/buysell.cpp') 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(); } -- cgit v1.2.3-70-g09d2