aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-23 20:44:41 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-23 20:44:41 +0100
commit0fa6c24d8e0a4b82542948790b5860059b11f764 (patch)
treeedf436dfa89c348fb3318da1d31be8b3a3843f08 /src
parentb3ba310792f189e9da35024d3ebb6f6433906841 (diff)
Improve editor preferences
Diffstat (limited to 'src')
-rw-r--r--src/preferences/EditorPrefsPanelBF.cpp9
-rw-r--r--src/preferences/EditorPrefsPanelBF.h2
2 files changed, 10 insertions, 1 deletions
diff --git a/src/preferences/EditorPrefsPanelBF.cpp b/src/preferences/EditorPrefsPanelBF.cpp
index 5cc9ae2..9b37d1f 100644
--- a/src/preferences/EditorPrefsPanelBF.cpp
+++ b/src/preferences/EditorPrefsPanelBF.cpp
@@ -46,9 +46,16 @@ EditorPrefsPanelBF::EditorPrefsPanelBF( wxWindow* parent, wxWindowID id, const w
row_size_label->Wrap( -1 );
main_sizer->Add( row_size_label, 0, wxALL, 5 );
- row_size = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0 );
+ row_size = new wxSpinCtrl( this, wxID_ANY, wxT("100"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0 );
main_sizer->Add( row_size, 0, wxALL, 5 );
+ col_size_label = new wxStaticText( this, wxID_ANY, wxT("Move column size"), wxDefaultPosition, wxDefaultSize, 0 );
+ col_size_label->Wrap( -1 );
+ main_sizer->Add( col_size_label, 0, wxALL, 5 );
+
+ col_size = new wxSpinCtrl( this, wxID_ANY, wxT("50"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0 );
+ main_sizer->Add( col_size, 0, wxALL, 5 );
+
show_move_icons = new wxCheckBox( this, wxID_ANY, wxT("Show move icons"), wxDefaultPosition, wxDefaultSize, 0 );
main_sizer->Add( show_move_icons, 0, wxALL, 5 );
diff --git a/src/preferences/EditorPrefsPanelBF.h b/src/preferences/EditorPrefsPanelBF.h
index 518338e..0f3a011 100644
--- a/src/preferences/EditorPrefsPanelBF.h
+++ b/src/preferences/EditorPrefsPanelBF.h
@@ -42,6 +42,8 @@ class EditorPrefsPanelBF : public wxPanel
wxColourPickerCtrl* color_commentbg;
wxStaticText* row_size_label;
wxSpinCtrl* row_size;
+ wxStaticText* col_size_label;
+ wxSpinCtrl* col_size;
wxCheckBox* show_move_icons;
public: