Make Custom GCode Editor resizable (#9405)
* Make gcode editor window resizable
* Make param list expands with the window
* Make dialog shrinkable and give it a proper initial size
* Revert "Hardcode Location of Add Button"
This reverts commit aef74ab005.
* Make sure the dialog fits inside current screen
* Fix compile error
This commit is contained in:
@@ -498,6 +498,12 @@ int get_dpi_for_window(const wxWindow *window);
|
||||
void dataview_remove_insets(wxDataViewCtrl* dv);
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Make sure the given window fits inside current display
|
||||
/// </summary>
|
||||
void fit_in_display(wxTopLevelWindow& window, wxSize desired_size);
|
||||
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user