Skip to content

Commit

Permalink
update UI for win LineChart
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed May 2, 2016
1 parent 31f74fa commit 8b926ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Explore/LineChartView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ has_excluded(1)
panel->SetBackgroundColour(*wxWHITE);

panel->Bind(wxEVT_RIGHT_UP, &LineChartFrame::OnMouseEvent, this);
message_win = new wxHtmlWindow(panel, wxID_ANY, wxDefaultPosition, wxSize(400,-1));
message_win = new wxHtmlWindow(panel, wxID_ANY, wxDefaultPosition, wxSize(380,-1));
message_win->Bind(wxEVT_RIGHT_UP, &LineChartFrame::OnMouseEvent, this);

bag_szr = new wxGridBagSizer(0, 0); // 0 vgap, 0 hgap
Expand All @@ -213,7 +213,7 @@ has_excluded(1)

panel->SetSizer(panel_h_szr);

splitter_win->SplitVertically(lpanel, panel, 350);
splitter_win->SplitVertically(lpanel, panel, 380);
wxBoxSizer* sizerAll = new wxBoxSizer(wxVERTICAL);
sizerAll->Add(splitter_win, 1, wxEXPAND|wxALL);
SetSizer(sizerAll);
Expand Down
2 changes: 1 addition & 1 deletion Explore/LineChartView.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public HighlightStateObserver, public LineChartCanvasCallbackInt
LineChartFrame(wxFrame *parent, Project* project,
const wxString& title = "Averages Chart",
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize);
const wxSize& size = wxSize(680,420));
virtual ~LineChartFrame();

virtual void OnActivate(wxActivateEvent& event);
Expand Down

0 comments on commit 8b926ab

Please sign in to comment.