summaryrefslogtreecommitdiff
path: root/src/gui/helpwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-05 03:13:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-05 03:13:43 +0300
commite3b9d60938b1299f2f66e68ff291060654c58d66 (patch)
tree28425cf579903d6735faa801a6968b56abdc7230 /src/gui/helpwindow.cpp
parent10c8e7da87de2219fad19fd899e97257164e4830 (diff)
downloadplus-e3b9d60938b1299f2f66e68ff291060654c58d66.tar.gz
plus-e3b9d60938b1299f2f66e68ff291060654c58d66.tar.bz2
plus-e3b9d60938b1299f2f66e68ff291060654c58d66.tar.xz
plus-e3b9d60938b1299f2f66e68ff291060654c58d66.zip
Move some hardcoded paddings to themes.
Diffstat (limited to 'src/gui/helpwindow.cpp')
-rw-r--r--src/gui/helpwindow.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/helpwindow.cpp b/src/gui/helpwindow.cpp
index b6a8fcd81..151e8bb63 100644
--- a/src/gui/helpwindow.cpp
+++ b/src/gui/helpwindow.cpp
@@ -64,11 +64,6 @@ HelpWindow::HelpWindow():
mScrollArea = new ScrollArea(mBrowserBox, true, "help_background.xml");
Button *okButton = new Button(_("Close"), "close", this);
- mScrollArea->setDimension(gcn::Rectangle(5, 5, 445,
- 335 - okButton->getHeight()));
- okButton->setPosition(450 - okButton->getWidth(),
- 345 - okButton->getHeight());
-
mBrowserBox->setLinkHandler(this);
mBrowserBox->setFont(gui->getHelpFont());
mBrowserBox->setProcessVersion(true);