mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 13:47:59 -06:00
Fix Preferences window size. #2463
This commit is contained in:
parent
c4832c5342
commit
77d2a8aa8c
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@ use base 'Wx::Dialog';
|
||||||
|
|
||||||
sub new {
|
sub new {
|
||||||
my ($class, $parent) = @_;
|
my ($class, $parent) = @_;
|
||||||
my $self = $class->SUPER::new($parent, -1, "Preferences", wxDefaultPosition, [500,200]);
|
my $self = $class->SUPER::new($parent, -1, "Preferences", wxDefaultPosition, wxDefaultSize);
|
||||||
$self->{values} = {};
|
$self->{values} = {};
|
||||||
|
|
||||||
my $optgroup;
|
my $optgroup;
|
||||||
|
@ -16,7 +16,7 @@ sub new {
|
||||||
my ($opt_id) = @_;
|
my ($opt_id) = @_;
|
||||||
$self->{values}{$opt_id} = $optgroup->get_value($opt_id);
|
$self->{values}{$opt_id} = $optgroup->get_value($opt_id);
|
||||||
},
|
},
|
||||||
label_width => 100,
|
label_width => 200,
|
||||||
);
|
);
|
||||||
$optgroup->append_single_option_line(Slic3r::GUI::OptionsGroup::Option->new(
|
$optgroup->append_single_option_line(Slic3r::GUI::OptionsGroup::Option->new(
|
||||||
opt_id => 'mode',
|
opt_id => 'mode',
|
||||||
|
@ -26,6 +26,7 @@ sub new {
|
||||||
labels => ['Simple','Expert'],
|
labels => ['Simple','Expert'],
|
||||||
values => ['simple','expert'],
|
values => ['simple','expert'],
|
||||||
default => $Slic3r::GUI::Settings->{_}{mode},
|
default => $Slic3r::GUI::Settings->{_}{mode},
|
||||||
|
width => 100,
|
||||||
));
|
));
|
||||||
$optgroup->append_single_option_line(Slic3r::GUI::OptionsGroup::Option->new(
|
$optgroup->append_single_option_line(Slic3r::GUI::OptionsGroup::Option->new(
|
||||||
opt_id => 'version_check',
|
opt_id => 'version_check',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue