mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-10-31 10:37:00 -04:00 
			
		
		
		
	...
This commit is contained in:
		
							parent
							
								
									7da0ce12ae
								
							
						
					
					
						commit
						a68a13f75a
					
				| @ -317,9 +317,8 @@ class BaseToolBar(QToolBar): # {{{ | ||||
|         QToolBar.resizeEvent(self, ev) | ||||
|         style = self.get_text_style() | ||||
|         self.setToolButtonStyle(style) | ||||
|         if hasattr(self, 'd_widget'): | ||||
|             if hasattr(self.d_widget, 'filler'): | ||||
|                 self.d_widget.filler.setVisible(style != Qt.ToolButtonIconOnly) | ||||
|         if hasattr(self, 'd_widget') and hasattr(self.d_widget, 'filler'): | ||||
|             self.d_widget.filler.setVisible(style != Qt.ToolButtonIconOnly) | ||||
| 
 | ||||
|     def get_text_style(self): | ||||
|         style = Qt.ToolButtonTextUnderIcon | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user