summaryrefslogtreecommitdiffstats
path: root/Project/ExponentialForm.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-09-04 20:05:30 -0300
committerGitHub <noreply@github.com>2017-09-04 20:05:30 -0300
commit926af7f34aaf5aebdbac0cbc550ed75647874258 (patch)
tree4df26f8c631aeeeed6e5c9e8aab87c4c663bd30f /Project/ExponentialForm.cpp
parent17d1dd82ec065eff08546ef1fd2a188ce77471b2 (diff)
parent6f3421c4150e49af026432a2a2be0171d741ad03 (diff)
downloadPSP.git-926af7f34aaf5aebdbac0cbc550ed75647874258.tar.gz
PSP.git-926af7f34aaf5aebdbac0cbc550ed75647874258.tar.xz
PSP.git-926af7f34aaf5aebdbac0cbc550ed75647874258.zip
Merge pull request #33 from Thales1330/wip/electromechanical-calc
Wip electromechanical calc
Diffstat (limited to 'Project/ExponentialForm.cpp')
-rw-r--r--Project/ExponentialForm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/ExponentialForm.cpp b/Project/ExponentialForm.cpp
index a2b487a..4ab040b 100644
--- a/Project/ExponentialForm.cpp
+++ b/Project/ExponentialForm.cpp
@@ -3,6 +3,8 @@
ExponentialForm::ExponentialForm(wxWindow* parent, Exponential* exponential) : ExponentialFormBase(parent)
{
+ SetSize(GetBestSize());
+
wxString expSymbol = wxString::FromUTF8("\xF0\x9D\x91\x92");
wxString superscriptCapitalB = wxString::FromUTF8("\xE1\xB4\xAE");
wxString superscriptSmallX = wxString::FromUTF8("\xCB\xA3");