ui: MainView: navigation: use different ui class
by default the treelist gets the 'nav' ui, which in newer extjs versions has a custom styling (unlike before) Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
		
				
					committed by
					
						 Thomas Lamprecht
						Thomas Lamprecht
					
				
			
			
				
	
			
			
			
						parent
						
							f8735e5988
						
					
				
				
					commit
					c793da1edc
				
			| @ -272,6 +272,7 @@ Ext.define('PBS.MainView', { | ||||
| 	    items: [{ | ||||
| 		xtype: 'navigationtree', | ||||
| 		minWidth: 180, | ||||
| 		ui: 'pve-nav', | ||||
| 		reference: 'navtree', | ||||
| 		// we have to define it here until extjs 6.2 | ||||
| 		// because of a bug where a viewcontroller does not detect | ||||
| @ -281,7 +282,7 @@ Ext.define('PBS.MainView', { | ||||
| 		}, | ||||
| 	    }, { | ||||
| 		xtype: 'box', | ||||
| 		cls: 'x-treelist-nav', | ||||
| 		cls: 'x-treelist-pve-nav', | ||||
| 		flex: 1, | ||||
| 	    }], | ||||
| 	}, | ||||
|  | ||||
| @ -143,7 +143,7 @@ table:not(.x-grid-item-selected) tr.x-grid-row.disabled { | ||||
|     color: #000; | ||||
| } | ||||
|  | ||||
| .x-treelist-nav { | ||||
| .x-treelist-pve-nav { | ||||
|     background-color: #f5f5f5; | ||||
|     border-right: 1px solid #cfcfcf; | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user