GUI improvements. Positions of grid and output are reverted

This commit is contained in:
2015-06-19 13:14:57 +03:00
parent 378655c361
commit f3748c1e95
4 changed files with 60 additions and 57 deletions

View File

@@ -63,12 +63,14 @@ VMainFrame::VMainFrame( wxWindow* parent, wxWindowID id, const wxString& title,
wxBoxSizer* bSizer3;
bSizer3 = new wxBoxSizer( wxHORIZONTAL );
bPreview = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
bPreview->Hide();
bSizer3->Add( bPreview, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxTOP, 5 );
tOutput = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxTE_WORDWRAP );
bSizer3->Add( tOutput, 1, wxALL|wxEXPAND, 5 );
bPreview = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
bSizer3->Add( bPreview, 0, wxALL, 5 );
bSizer2->Add( bSizer3, 1, wxEXPAND, 5 );
wxBoxSizer* bSizer5;

View File

@@ -45,8 +45,8 @@ class VMainFrame : public wxFrame
wxMenu* miHelp;
wxTextCtrl* tPath;
wxButton* bPath;
wxTextCtrl* tOutput;
wxStaticBitmap* bPreview;
wxTextCtrl* tOutput;
wxButton* bGenerate;