mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-04 22:38:33 +00:00
[1.43.16]
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@242 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+3
-3
@@ -288,7 +288,7 @@ TranslDlg::TranslDlg(wxWindow *parent) : wxPanel(parent)
|
||||
attr.SetFont(font);
|
||||
|
||||
wxClientDisplayRect(&x,&y,&width, &height);
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
if(height <= 768)
|
||||
height_ph = height - 416;
|
||||
#else
|
||||
@@ -298,12 +298,12 @@ TranslDlg::TranslDlg(wxWindow *parent) : wxPanel(parent)
|
||||
|
||||
|
||||
t_source = new wxTextCtrl(this,T_SOURCE,_T(""),wxPoint(0,4),
|
||||
wxSize(298,250),wxTE_MULTILINE);
|
||||
wxSize(298,250),wxTE_MULTILINE,wxDefaultValidator,_T("Text input window"));
|
||||
t_source->SetDefaultStyle(attr);
|
||||
|
||||
|
||||
t_phonetic = new wxTextCtrl(this,T_PHONETIC,_T(""),wxPoint(0,262),
|
||||
wxSize(298,height_ph),wxTE_MULTILINE | wxTE_READONLY);
|
||||
wxSize(298,height_ph),wxTE_MULTILINE | wxTE_READONLY,wxDefaultValidator,_T("Phoneme translation window"));
|
||||
|
||||
y = height_ph + 270;
|
||||
t_translate = new wxButton(this,T_TRANSLATE,_T("Translate"),wxPoint(4,y));
|
||||
|
||||
Reference in New Issue
Block a user