mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Add spacer for correctly aligning top text under wxGTK.
This commit is contained in:
		
							parent
							
								
									e01b20ec8e
								
							
						
					
					
						commit
						c35b57fb0b
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -40,10 +40,12 @@ sub new {
 | 
			
		|||
        $buttons_sizer->Add($slice_button, 0, wxRIGHT, 20);
 | 
			
		||||
        EVT_BUTTON($self, $slice_button, sub { $self->do_slice });
 | 
			
		||||
        
 | 
			
		||||
        $buttons_sizer->AddStretchSpacer(1);
 | 
			
		||||
        
 | 
			
		||||
        my $text = Wx::StaticText->new($self, -1, "Remember to check for updates at http://slic3r.org/\nVersion: $Slic3r::VERSION", wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT);
 | 
			
		||||
        my $font = Wx::Font->new(10, wxDEFAULT, wxNORMAL, wxNORMAL);
 | 
			
		||||
        $text->SetFont($font);
 | 
			
		||||
        $buttons_sizer->Add($text, 1, wxEXPAND | wxALIGN_RIGHT);
 | 
			
		||||
        $buttons_sizer->Add($text, 0, wxALIGN_RIGHT);
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    my $sizer = Wx::BoxSizer->new(wxVERTICAL);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue