aboutsummaryrefslogtreecommitdiff
path: root/src/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.cpp')
-rw-r--r--src/gui.cpp16
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 );