SendSystemInfoDialog: Use HTML for formatting

This commit is contained in:
Lukas Matena
2021-09-10 13:09:55 +02:00
parent 43deb8a500
commit 26a85e975e
2 changed files with 110 additions and 99 deletions

View File

@@ -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();