summaryrefslogtreecommitdiff
path: root/src/gui/okdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-18 18:37:10 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-18 18:37:10 +0300
commit2b4110a217110dfe9919fa3cc70e41c6920ac597 (patch)
treec74a6708f184a3866b58d40dd79c00ba327d37ac /src/gui/okdialog.h
parentbe7d563ba1e0b20cfe397f2cf4da6f7e3df78d22 (diff)
downloadplus-2b4110a217110dfe9919fa3cc70e41c6920ac597.tar.gz
plus-2b4110a217110dfe9919fa3cc70e41c6920ac597.tar.bz2
plus-2b4110a217110dfe9919fa3cc70e41c6920ac597.tar.xz
plus-2b4110a217110dfe9919fa3cc70e41c6920ac597.zip
Fix ok dialog resize issue.
Also allow set from ouside preferred width.
Diffstat (limited to 'src/gui/okdialog.h')
-rw-r--r--src/gui/okdialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/okdialog.h b/src/gui/okdialog.h
index be6d73c49..7c03b8a93 100644
--- a/src/gui/okdialog.h
+++ b/src/gui/okdialog.h
@@ -53,7 +53,8 @@ class OkDialog final : public Window, public gcn::ActionListener
*/
OkDialog(const std::string &title, const std::string &msg,
const int soundEvent = DIALOG_OK, const bool modal = true,
- const bool showCenter = true, Window *const parent = nullptr);
+ const bool showCenter = true, Window *const parent = nullptr,
+ const int minWidth = 260);
A_DELETE_COPY(OkDialog)