From 1fcb990bd02da945ac0204caaed6a9aa1f6a7d5f Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Fri, 11 Aug 2017 18:49:13 -0300 Subject: General settings implemented A lot of pt-br translation Some forms sizes fixes init file fully implemented --- Project/TextForm.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Project/TextForm.cpp') 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 elementList, double systemPowerBase) : TextFormBase(parent) { + SetSize(GetBestSize()); m_parent = parent; m_textToEdit = text; m_allElements.GetElementsFromList(elementList); -- cgit