Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-10-14 10:08:50 +0000
committerStijn Buys <ingar@osirion.org>2012-10-14 10:08:50 +0000
commit97d79a827ef4978df15fa117e013817dbcde1d09 (patch)
tree2f7f74b5b1b8fcfb1ba68051e688d811f1056174 /src/client/dialog.cc
parent1883c2ea6cb3dd4ba5f26af31a0ad481d524dfef (diff)
Added protection against duplicate dialog definitions, made the dialog window smaller.
Diffstat (limited to 'src/client/dialog.cc')
-rw-r--r--src/client/dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/dialog.cc b/src/client/dialog.cc
index f113433..b593388 100644
--- a/src/client/dialog.cc
+++ b/src/client/dialog.cc
@@ -54,7 +54,7 @@ void Dialog::resize()
dialog_widget->set_size(
ui::UI::elementsize.width() * 3.0f,
- ui::UI::elementsize.width() * 2.0f
+ ui::UI::elementsize.width() * 1.5f
);
dialog_widget->set_location(
(width() - dialog_widget->width()) * 0.5f,