Commit c5f6451f authored by Dietmar Maurer's avatar Dietmar Maurer

fix layout

parent 49845ad4
...@@ -22,6 +22,7 @@ Ext.define('PVE.dc.UserEdit', { ...@@ -22,6 +22,7 @@ Ext.define('PVE.dc.UserEdit', {
var column1 = [ var column1 = [
{ {
xtype: me.create ? 'textfield' : 'displayfield', xtype: me.create ? 'textfield' : 'displayfield',
height: 22, // hack: set same height as text fields
name: 'userid', name: 'userid',
fieldLabel: gettext('User name'), fieldLabel: gettext('User name'),
value: me.userid, value: me.userid,
...@@ -82,6 +83,8 @@ Ext.define('PVE.dc.UserEdit', { ...@@ -82,6 +83,8 @@ Ext.define('PVE.dc.UserEdit', {
name: 'realm', name: 'realm',
fieldLabel: gettext('Realm'), fieldLabel: gettext('Realm'),
allowBlank: false, allowBlank: false,
matchFieldWidth: false,
listConfig: { width: 300 },
listeners: { listeners: {
change: function(combo, newValue){ change: function(combo, newValue){
realm = newValue; realm = newValue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment