mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-26 10:11:10 -06:00
SendSystemInfoDialog: Use HTML for formatting
This commit is contained in:
parent
d6222cf8a8
commit
e8af0d6d0f
2 changed files with 110 additions and 99 deletions
|
|
@ -12,11 +12,8 @@ namespace GUI {
|
|||
class SendSystemInfoDialog : public DPIDialog
|
||||
{
|
||||
enum {
|
||||
DIALOG_MARGIN = 15,
|
||||
SPACING = 10,
|
||||
MIN_WIDTH = 60,
|
||||
MIN_HEIGHT = 60,//40,
|
||||
MIN_HEIGHT_EXPANDED = 40,
|
||||
MIN_HEIGHT = 40
|
||||
};
|
||||
|
||||
public:
|
||||
|
|
@ -24,12 +21,14 @@ public:
|
|||
|
||||
private:
|
||||
const std::string m_system_info_json;
|
||||
int m_min_width;
|
||||
int m_min_height;
|
||||
wxButton* m_btn_send;
|
||||
wxButton* m_btn_dont_send;
|
||||
wxButton* m_btn_ask_later;
|
||||
|
||||
void on_dpi_changed(const wxRect&) override;
|
||||
};
|
||||
|
||||
|
||||
void show_send_system_info_dialog_if_needed();
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue