diff options
author | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-07-18 14:35:37 -0500 |
---|---|---|
committer | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-07-19 13:23:16 -0500 |
commit | 95f55c8f0d0e56fd039333b611d12f88b74cde78 (patch) | |
tree | 60f4e8a231d9b2c8d1cb84a69b418eac04adabda /scene/gui/dialogs.cpp | |
parent | 9cf72d0ae174badab07b1461f576955725375046 (diff) | |
download | redot-engine-95f55c8f0d0e56fd039333b611d12f88b74cde78.tar.gz |
Icons can now be added inside line edits (Search icon).
Fixed window title bar margins.
fixed compilation error
Diffstat (limited to 'scene/gui/dialogs.cpp')
-rw-r--r-- | scene/gui/dialogs.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp index 8885bec03c..7d7c636bc2 100644 --- a/scene/gui/dialogs.cpp +++ b/scene/gui/dialogs.cpp @@ -584,6 +584,8 @@ Button *ConfirmationDialog::get_cancel() { ConfirmationDialog::ConfirmationDialog() { set_title(RTR("Please Confirm...")); - set_custom_minimum_size(Size2(200, 70)); +#ifdef TOOLS_ENABLED + set_custom_minimum_size(Size2(200, 70) * EDSCALE); +#endif cancel = add_cancel(); } |