mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 20:51:12 -06:00 
			
		
		
		
	Prevent the left treectrl to grow if preset names are too long
This commit is contained in:
		
							parent
							
								
									42034ecb40
								
							
						
					
					
						commit
						2d17a94a38
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -31,13 +31,13 @@ sub new { | |||
|     my $left_sizer = Wx::BoxSizer->new(wxVERTICAL); | ||||
|     $self->{sizer}->Add($left_sizer, 0, wxEXPAND | wxLEFT | wxTOP | wxBOTTOM, 3); | ||||
|      | ||||
|     my $left_col_width = 210; | ||||
|     my $left_col_width = 150; | ||||
|      | ||||
|     # preset chooser | ||||
|     { | ||||
|          | ||||
|         # choice menu | ||||
|         $self->{presets_choice} = Wx::Choice->new($self, -1, wxDefaultPosition, wxDefaultSize, []); | ||||
|         $self->{presets_choice} = Wx::Choice->new($self, -1, wxDefaultPosition, [$left_col_width, -1], []); | ||||
|         $self->{presets_choice}->SetFont($Slic3r::GUI::small_font); | ||||
|          | ||||
|         # buttons | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci