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:
Noisyfox
2025-05-09 23:00:27 +08:00
committed by GitHub
parent c1d719496f
commit 367bfa69ab
3 changed files with 29 additions and 6 deletions

View File

@@ -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