From 97d79a827ef4978df15fa117e013817dbcde1d09 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 14 Oct 2012 10:08:50 +0000 Subject: Added protection against duplicate dialog definitions, made the dialog window smaller. --- src/client/dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/dialog.cc') 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, -- cgit v1.2.3