mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -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 { | ||||
|     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} = {}; | ||||
|      | ||||
|     my $optgroup; | ||||
|  | @ -16,7 +16,7 @@ sub new { | |||
|             my ($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( | ||||
|         opt_id      => 'mode', | ||||
|  | @ -26,6 +26,7 @@ sub new { | |||
|         labels      => ['Simple','Expert'], | ||||
|         values      => ['simple','expert'], | ||||
|         default     => $Slic3r::GUI::Settings->{_}{mode}, | ||||
|         width       => 100, | ||||
|     )); | ||||
|     $optgroup->append_single_option_line(Slic3r::GUI::OptionsGroup::Option->new( | ||||
|         opt_id      => 'version_check', | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci