mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 12:30:50 +01:00
CA-375740: VMSS has no other_config, hence no custom fields can be set.
Also, allow for a longer field label before ellipsization takes over. Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
This commit is contained in:
parent
2a81e63eba
commit
78396156ea
@ -134,7 +134,7 @@ namespace XenAdmin.Dialogs
|
|||||||
|
|
||||||
ShowTab(GeneralEditPage = new GeneralEditPage());
|
ShowTab(GeneralEditPage = new GeneralEditPage());
|
||||||
|
|
||||||
if (!isVmAppliance)
|
if (!isVmAppliance && !isVmss)
|
||||||
ShowTab(CustomFieldsEditPage = new CustomFieldsDisplayPage {AutoScroll = true});
|
ShowTab(CustomFieldsEditPage = new CustomFieldsDisplayPage {AutoScroll = true});
|
||||||
|
|
||||||
if (isVm)
|
if (isVm)
|
||||||
|
@ -342,7 +342,7 @@ namespace XenAdmin.SettingsPanels
|
|||||||
return new Label
|
return new Label
|
||||||
{
|
{
|
||||||
Anchor = AnchorStyles.Left | AnchorStyles.Right,
|
Anchor = AnchorStyles.Left | AnchorStyles.Right,
|
||||||
Text = customFieldDefinition.Name.EscapeAmpersands().Ellipsise(25),
|
Text = customFieldDefinition.Name.EscapeAmpersands().Ellipsise(45),
|
||||||
Font = Program.DefaultFont,
|
Font = Program.DefaultFont,
|
||||||
AutoSize = true,
|
AutoSize = true,
|
||||||
AutoEllipsis = false
|
AutoEllipsis = false
|
||||||
|
Loading…
Reference in New Issue
Block a user