mirror of
				https://git.proxmox.com/git/proxmox-widget-toolkit
				synced 2025-11-03 23:31:22 +00:00 
			
		
		
		
	node: repos: increase width of add-repo window + style cleanup
We have some longer descriptions so the default width looks crammed. Also, avoid a intermediate variable which is only used once without any change. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
		
							parent
							
								
									7f671fee58
								
							
						
					
					
						commit
						5e9eb2456c
					
				@ -23,6 +23,7 @@ Ext.define('Proxmox.window.APTRepositoryAdd', {
 | 
			
		||||
    isAdd: true,
 | 
			
		||||
 | 
			
		||||
    subject: gettext('Repository'),
 | 
			
		||||
    width: 600,
 | 
			
		||||
 | 
			
		||||
    initComponent: function() {
 | 
			
		||||
	let me = this;
 | 
			
		||||
@ -86,14 +87,12 @@ Ext.define('Proxmox.window.APTRepositoryAdd', {
 | 
			
		||||
 | 
			
		||||
	repoSelector.setValue(me.repoInfo[0].handle);
 | 
			
		||||
 | 
			
		||||
	let items = [
 | 
			
		||||
	    repoSelector,
 | 
			
		||||
	    description,
 | 
			
		||||
	    status,
 | 
			
		||||
	];
 | 
			
		||||
 | 
			
		||||
	Ext.apply(me, {
 | 
			
		||||
	    items: items,
 | 
			
		||||
	    items: [
 | 
			
		||||
		repoSelector,
 | 
			
		||||
		description,
 | 
			
		||||
		status,
 | 
			
		||||
	    ],
 | 
			
		||||
	    repoSelector: repoSelector,
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user