mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 05:37:52 -06:00
Added overriding of the DoGetBestSize() to correct control sizing on OSX and Linux/GTK
This commit is contained in:
parent
5cd4597d38
commit
a5119a41a5
2 changed files with 12 additions and 6 deletions
|
@ -527,7 +527,7 @@ public:
|
|||
void SetHigherValue(int higher_val);
|
||||
void SetKoefForLabels(float koef){ m_label_koef = koef;}
|
||||
|
||||
wxSize DoGetBestSize(){ return wxDefaultSize; }
|
||||
wxSize DoGetBestSize() const override;
|
||||
|
||||
void OnPaint(wxPaintEvent& ){ render();}
|
||||
void OnLeftDown(wxMouseEvent& event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue