diff --git a/src/slic3r/GUI/Field.cpp b/src/slic3r/GUI/Field.cpp index 598fec168c..eb55e1535e 100644 --- a/src/slic3r/GUI/Field.cpp +++ b/src/slic3r/GUI/Field.cpp @@ -128,7 +128,7 @@ void Field::PostInitialize() } // Values of width to alignments of fields -int Field::def_width() { return wxOSX ? 8 : 7; } +int Field::def_width() { return 8; } int Field::def_width_wider() { return 16; } int Field::def_width_thinner() { return 4; } diff --git a/src/slic3r/GUI/UnsavedChangesDialog.cpp b/src/slic3r/GUI/UnsavedChangesDialog.cpp index 149564fca8..db9cde34e9 100644 --- a/src/slic3r/GUI/UnsavedChangesDialog.cpp +++ b/src/slic3r/GUI/UnsavedChangesDialog.cpp @@ -24,6 +24,12 @@ using boost::optional; +#ifdef __Linux__ +#define wxLinux true +#else +#define wxLinux false +#endif + namespace Slic3r { namespace GUI { @@ -586,7 +592,7 @@ void UnsavedChangesDialog::build(Preset::Type type, PresetCollection* dependent_ m_tree->AssociateModel(m_tree_model); m_tree_model->SetAssociatedControl(m_tree); - m_tree->AppendToggleColumn(L"\u2714", UnsavedChangesModel::colToggle, wxDATAVIEW_CELL_ACTIVATABLE, 6 * em);//2610,11,12 //2714 + m_tree->AppendToggleColumn(L"\u2714", UnsavedChangesModel::colToggle, wxDATAVIEW_CELL_ACTIVATABLE, (wxLinux ? 8 : 6) * em); auto append_bmp_text_column = [this](const wxString& label, unsigned model_column, int width, bool set_expander = false) {