Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xs/src/slic3r/GUI/ConfigWizard.cpp4
-rw-r--r--xs/src/slic3r/GUI/ConfigWizard_private.hpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/xs/src/slic3r/GUI/ConfigWizard.cpp b/xs/src/slic3r/GUI/ConfigWizard.cpp
index 3fd124bab..d29bd51f1 100644
--- a/xs/src/slic3r/GUI/ConfigWizard.cpp
+++ b/xs/src/slic3r/GUI/ConfigWizard.cpp
@@ -264,7 +264,7 @@ void ConfigWizardPage::append_text(wxString text)
{
auto *widget = new wxStaticText(this, wxID_ANY, text, wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT);
widget->Wrap(WRAP_WIDTH);
- widget->SetMinSize(wxSize(WRAP_WIDTH, -1));
+ widget->SetMinSize(wxSize(WRAP_WIDTH, MIN_HEIGHT));
append(widget);
}
@@ -283,7 +283,7 @@ PageWelcome::PageWelcome(ConfigWizard *parent)
if (wizard_p()->run_reason == ConfigWizard::RR_DATA_EMPTY) {
wxString::Format(_(L("Run %s")), ConfigWizard::name());
append_text(wxString::Format(
- _(L("Hello, welcome to Slic3r Prusa Edition! This %s helps you with the initial configuration; just a few settings and you will be ready to print.")),
+ _(L("Hello, welcome to Slic3r Prusa Edition!\nThis %s helps you with the initial configuration; just a few settings and you will be ready to print.")),
ConfigWizard::name())
);
} else {
diff --git a/xs/src/slic3r/GUI/ConfigWizard_private.hpp b/xs/src/slic3r/GUI/ConfigWizard_private.hpp
index d63b6e8b7..212db310c 100644
--- a/xs/src/slic3r/GUI/ConfigWizard_private.hpp
+++ b/xs/src/slic3r/GUI/ConfigWizard_private.hpp
@@ -30,6 +30,7 @@ namespace GUI {
enum {
WRAP_WIDTH = 500,
+ MIN_HEIGHT = 150,
MODEL_MIN_WRAP = 150,
DIALOG_MARGIN = 15,