text fix
This commit is contained in:
parent
963849e18b
commit
9cfcba78f7
2 changed files with 1 additions and 38 deletions
|
@ -472,7 +472,7 @@ PageWelcome::PageWelcome(ConfigWizard *parent)
|
||||||
new wxCheckBox(this, wxID_ANY, _L("Remove user profiles (a snapshot will be taken beforehand)"))
|
new wxCheckBox(this, wxID_ANY, _L("Remove user profiles (a snapshot will be taken beforehand)"))
|
||||||
))
|
))
|
||||||
, cbox_integrate(append(
|
, cbox_integrate(append(
|
||||||
new wxCheckBox(this, wxID_ANY, _L("Perform desktop integration (This will set shortcuts to PrusaSlicer to this Appimage executable)."))
|
new wxCheckBox(this, wxID_ANY, _L("Perform desktop integration (Sets this binary to be searchable by the system)."))
|
||||||
))
|
))
|
||||||
{
|
{
|
||||||
welcome_text->Hide();
|
welcome_text->Hide();
|
||||||
|
|
|
@ -390,43 +390,6 @@ DesktopIntegrationDialog::DesktopIntegrationDialog(wxWindow *parent)
|
||||||
vbox->Add(btn_szr, 0, wxALIGN_CENTER);
|
vbox->Add(btn_szr, 0, wxALIGN_CENTER);
|
||||||
|
|
||||||
SetSizerAndFit(vbox);
|
SetSizerAndFit(vbox);
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
//boldfont.SetWeight(wxFONTWEIGHT_BOLD);
|
|
||||||
|
|
||||||
//this->SetFont(wxGetApp().normal_font());
|
|
||||||
|
|
||||||
auto *topsizer = new wxBoxSizer(wxHORIZONTAL);
|
|
||||||
auto *rightsizer = new wxBoxSizer(wxVERTICAL);
|
|
||||||
|
|
||||||
auto *headtext = new wxStaticText(this, wxID_ANY, headline);
|
|
||||||
headtext->SetFont(boldfont);
|
|
||||||
headtext->Wrap(50*wxGetApp().em_unit());
|
|
||||||
rightsizer->Add(headtext);
|
|
||||||
rightsizer->AddSpacer(VERT_SPACING);
|
|
||||||
|
|
||||||
rightsizer->Add(content_sizer, 1, wxEXPAND);
|
|
||||||
|
|
||||||
if (button_id != wxID_NONE) {
|
|
||||||
auto *button = new wxButton(this, button_id);
|
|
||||||
button->SetFocus();
|
|
||||||
btn_sizer->Add(button);
|
|
||||||
}
|
|
||||||
|
|
||||||
rightsizer->Add(btn_sizer, 0, wxALIGN_RIGHT);
|
|
||||||
|
|
||||||
if (! bitmap.IsOk()) {
|
|
||||||
bitmap = create_scaled_bitmap("PrusaSlicer_192px.png", this, 192);
|
|
||||||
}
|
|
||||||
|
|
||||||
logo = new wxStaticBitmap(this, wxID_ANY, wxNullBitmap);
|
|
||||||
|
|
||||||
topsizer->Add(logo, 0, wxALL, BORDER);
|
|
||||||
topsizer->Add(rightsizer, 1, wxALL | wxEXPAND, BORDER);
|
|
||||||
|
|
||||||
SetSizerAndFit(topsizer);
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DesktopIntegrationDialog::~DesktopIntegrationDialog()
|
DesktopIntegrationDialog::~DesktopIntegrationDialog()
|
||||||
|
|
Loading…
Reference in a new issue