mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-01 06:29:13 -07:00
Added _fiction_ resizing for correct MainFrame rendering after DPI changed_object
+ Added a calculation of a empty bitmaps inside presets in respect to em_unit (to avoid assert) + Added scaling for PrintHostDialogs and MsgDialog + some code refactoring
This commit is contained in:
@@ -41,7 +41,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
class PrintHostQueueDialog : public wxDialog
|
||||
class PrintHostQueueDialog : public DPIDialog
|
||||
{
|
||||
public:
|
||||
class Event : public wxEvent
|
||||
@@ -62,6 +62,10 @@ public:
|
||||
PrintHostQueueDialog(wxWindow *parent);
|
||||
|
||||
void append_job(const PrintHostJob &job);
|
||||
|
||||
protected:
|
||||
void on_dpi_changed(const wxRect &suggested_rect) override { Refresh(); }
|
||||
|
||||
private:
|
||||
enum Column {
|
||||
COL_ID,
|
||||
|
||||
Reference in New Issue
Block a user