mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-07-25 15:15:52 +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,
|
isAdd: true,
|
||||||
|
|
||||||
subject: gettext('Repository'),
|
subject: gettext('Repository'),
|
||||||
|
width: 600,
|
||||||
|
|
||||||
initComponent: function() {
|
initComponent: function() {
|
||||||
let me = this;
|
let me = this;
|
||||||
@ -86,14 +87,12 @@ Ext.define('Proxmox.window.APTRepositoryAdd', {
|
|||||||
|
|
||||||
repoSelector.setValue(me.repoInfo[0].handle);
|
repoSelector.setValue(me.repoInfo[0].handle);
|
||||||
|
|
||||||
let items = [
|
|
||||||
repoSelector,
|
|
||||||
description,
|
|
||||||
status,
|
|
||||||
];
|
|
||||||
|
|
||||||
Ext.apply(me, {
|
Ext.apply(me, {
|
||||||
items: items,
|
items: [
|
||||||
|
repoSelector,
|
||||||
|
description,
|
||||||
|
status,
|
||||||
|
],
|
||||||
repoSelector: repoSelector,
|
repoSelector: repoSelector,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user