diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-28 15:27:51 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-28 15:27:51 +0100 |
| commit | cd2c9e5b470255366464131492389cb0928cc5d1 (patch) | |
| tree | 547cc3daf07708dfbc6cde2801209caa73c54d4c /src/gui.cpp | |
| parent | 81d7a419624e79ec3fa6c4bcb52fccaa6004065b (diff) | |
Improve GUI and debug various classes
Diffstat (limited to 'src/gui.cpp')
| -rw-r--r-- | src/gui.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui.cpp b/src/gui.cpp index 9091001..897ef15 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -428,17 +428,17 @@ TabGameLeftPanel::TabGameLeftPanel( wxWindow* parent, wxWindowID id, const wxPoi wxBoxSizer* bar_sizer; bar_sizer = new wxBoxSizer( wxHORIZONTAL ); - swap_button = new wxBitmapButton( this, SWAP_BTN, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 ); - bar_sizer->Add( swap_button, 0, wxALL|wxEXPAND, 5 ); + swap_button = new wxBitmapButton( this, SWAP_BTN, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|wxBORDER_NONE ); + bar_sizer->Add( swap_button, 0, wxALL|wxEXPAND, 3 ); - zoomin_button = new wxBitmapButton( this, ZOOM_IN_BTN, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 ); - bar_sizer->Add( zoomin_button, 0, wxALL|wxEXPAND, 5 ); + zoomin_button = new wxBitmapButton( this, ZOOM_IN_BTN, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|wxBORDER_NONE ); + bar_sizer->Add( zoomin_button, 0, wxALL|wxEXPAND, 3 ); - zoomout_button = new wxBitmapButton( this, ZOOM_OUT_BTN, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 ); - bar_sizer->Add( zoomout_button, 0, wxALL|wxEXPAND, 5 ); + zoomout_button = new wxBitmapButton( this, ZOOM_OUT_BTN, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|wxBORDER_NONE ); + bar_sizer->Add( zoomout_button, 0, wxALL|wxEXPAND, 3 ); - copy_fen_button = new wxButton( this, COPY_FEN_BTN, wxT("Copy FEN"), wxDefaultPosition, wxDefaultSize, 0 ); - bar_sizer->Add( copy_fen_button, 0, wxALL|wxEXPAND, 5 ); + fen_text_field = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( -1,-1 ), wxTE_READONLY ); + bar_sizer->Add( fen_text_field, 1, wxALL|wxEXPAND, 0 ); main_sizer->Add( bar_sizer, 0, wxEXPAND, 5 ); |
