mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	Fix processing gui test on newer python versions
This commit is contained in:
		
							parent
							
								
									7b16235409
								
							
						
					
					
						commit
						8feb106fd5
					
				@ -272,10 +272,10 @@ class DistanceInputPanel(NumberInputPanel):
 | 
			
		||||
            self.units_combo.addItem(QgsUnitTypes.toString(u), u)
 | 
			
		||||
 | 
			
		||||
        label_margin = self.fontMetrics().width('X')
 | 
			
		||||
        self.layout().insertSpacing(1, label_margin / 2)
 | 
			
		||||
        self.layout().insertSpacing(1, int(label_margin / 2))
 | 
			
		||||
        self.layout().insertWidget(2, self.label)
 | 
			
		||||
        self.layout().insertWidget(3, self.units_combo)
 | 
			
		||||
        self.layout().insertSpacing(4, label_margin / 2)
 | 
			
		||||
        self.layout().insertSpacing(4, int(label_margin / 2))
 | 
			
		||||
        self.warning_label = QLabel()
 | 
			
		||||
        icon = QgsApplication.getThemeIcon('mIconWarning.svg')
 | 
			
		||||
        size = max(24, self.spnValue.height() * 0.5)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user