summaryrefslogtreecommitdiffstats
path: root/Project/TextForm.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-08-11 18:49:13 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-08-11 18:49:13 -0300
commit1fcb990bd02da945ac0204caaed6a9aa1f6a7d5f (patch)
treebfd5888f0d90d1248260e77ebc46492dc6aab250 /Project/TextForm.cpp
parente5f19af9a5829a307951785e850e53fc4fcfac90 (diff)
downloadPSP.git-1fcb990bd02da945ac0204caaed6a9aa1f6a7d5f.tar.gz
PSP.git-1fcb990bd02da945ac0204caaed6a9aa1f6a7d5f.tar.xz
PSP.git-1fcb990bd02da945ac0204caaed6a9aa1f6a7d5f.zip
General settings implemented
A lot of pt-br translation Some forms sizes fixes init file fully implemented
Diffstat (limited to 'Project/TextForm.cpp')
-rw-r--r--Project/TextForm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Project/TextForm.cpp b/Project/TextForm.cpp
index 6c3304f..b2624ba 100644
--- a/Project/TextForm.cpp
+++ b/Project/TextForm.cpp
@@ -3,6 +3,7 @@
TextForm::TextForm(wxWindow* parent, Text* text, std::vector<Element*> elementList, double systemPowerBase)
: TextFormBase(parent)
{
+ SetSize(GetBestSize());
m_parent = parent;
m_textToEdit = text;
m_allElements.GetElementsFromList(elementList);