Skip to content

Commit

Permalink
Merge pull request #2348 from lixun910/v1.20
Browse files Browse the repository at this point in the history
fix weights creation dialog UI issue on ubuntu
  • Loading branch information
lixun910 authored Sep 14, 2021
2 parents cf7f50f + 016d6fa commit 881c33f
Show file tree
Hide file tree
Showing 4 changed files with 846 additions and 842 deletions.
1 change: 1 addition & 0 deletions DialogTools/CreatingWeightDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ void CreatingWeightDlg::CreateControls()
m_dist_choice_vars->Bind(wxEVT_CHOICE, &CreatingWeightDlg::OnDistanceMetricVarsSel, this);
m_trans_choice_vars->Bind(wxEVT_CHOICE, &CreatingWeightDlg::OnDistanceMetricVarsSel, this);
InitDlg();
Fit();
}

void CreatingWeightDlg::OnWeightTypeSelect( wxCommandEvent& event )
Expand Down
6 changes: 3 additions & 3 deletions DialogTools/CreatingWeightDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ public TableStateObserver, public WeightsManStateObserver
wxWindowID id = wxID_ANY,
const wxString& caption = _("Weights File Creation"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxCAPTION|wxDEFAULT_DIALOG_STYLE );
const wxSize& size = wxSize(600,800),
long style = wxCAPTION|wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
virtual ~CreatingWeightDlg();
void OnClose(wxCloseEvent& ev);
bool Create(wxWindow* parent, wxWindowID id = wxID_ANY,
const wxString& caption = _("Weights File Creation"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxCAPTION|wxDEFAULT_DIALOG_STYLE );
long style = wxCAPTION|wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );

void CreateControls();
void OnCreateNewIdClick( wxCommandEvent& event );
Expand Down
Loading

0 comments on commit 881c33f

Please sign in to comment.