Increase size of popup, text was truncated at least in french
This commit is contained in:
parent
64adbb4238
commit
be81a7fd11
@ -1228,7 +1228,7 @@ void askForInternetPermission()
|
||||
"'User Interface', and edit \"Connect to the "
|
||||
"Internet\" and \"Send anonymous HW statistics\")."),
|
||||
MessageDialog::MESSAGE_DIALOG_YESNO,
|
||||
new ConfirmServer(), true, true);
|
||||
new ConfirmServer(), true, true, 0.7f, 0.7f);
|
||||
GUIEngine::DialogQueue::get()->pushDialog(dialog, false);
|
||||
} // askForInternetPermission
|
||||
|
||||
|
@ -40,8 +40,9 @@ using namespace GUIEngine;
|
||||
MessageDialog::MessageDialog(const irr::core::stringw &msg,
|
||||
MessageDialogType type,
|
||||
IConfirmDialogListener* listener,
|
||||
bool own_listener, bool from_queue)
|
||||
: ModalDialog(0.6f, 0.6f)
|
||||
bool own_listener, bool from_queue,
|
||||
float width, float height)
|
||||
: ModalDialog(width, height)
|
||||
{
|
||||
m_msg = msg;
|
||||
m_type = type;
|
||||
|
@ -83,7 +83,7 @@ public:
|
||||
*/
|
||||
MessageDialog(const irr::core::stringw &msg, MessageDialogType type,
|
||||
IConfirmDialogListener* listener, bool delete_listener,
|
||||
bool from_queue=false);
|
||||
bool from_queue = false, float width = 0.6f, float height = 0.6f);
|
||||
|
||||
/**
|
||||
* Variant of MessageDialog where cancelling is not possible (i.e. just shows a message box with OK)
|
||||
|
Loading…
Reference in New Issue
Block a user