kopia lustrzana https://github.com/inkstitch/inkstitch
				
				
				
			set min size for params dialog (#1107)
							rodzic
							
								
									71a5d4772a
								
							
						
					
					
						commit
						5f8109b3c3
					
				| 
						 | 
				
			
			@ -460,6 +460,13 @@ class SettingsFrame(wx.Frame):
 | 
			
		|||
        sizer_1.Add(sizer_3, 0, wx.ALIGN_RIGHT, 0)
 | 
			
		||||
        self.SetSizer(sizer_1)
 | 
			
		||||
        sizer_1.Fit(self)
 | 
			
		||||
 | 
			
		||||
        # prevent the param dialog to become smaller than 500*400
 | 
			
		||||
        # otherwise the scrollbar jumps to the side and produces a
 | 
			
		||||
        # deprecation warning in wxpythons scrolledpanel.py line 225 -
 | 
			
		||||
        # which is expecting an integer, but uses previously a division
 | 
			
		||||
        self.SetSizeHints(500, 400)
 | 
			
		||||
 | 
			
		||||
        self.Layout()
 | 
			
		||||
        # end wxGlade
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue