From 384f1177a962cecfc508bb0b956924fc35f9fa2d Mon Sep 17 00:00:00 2001 From: David Dykstal Date: Tue, 17 Oct 2006 16:32:01 +0000 Subject: [PATCH] [cleanup] added comment about using height hints in dialogs - accessibility impact --- .../rse/ui/dialogs/SystemPasswordPromptDialog.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java index c0a37810241..17c3a3a1a16 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java @@ -155,28 +155,26 @@ public final class SystemPasswordPromptDialog extends SystemPromptDialog impleme Composite composite_prompts = SystemWidgetHelpers.createComposite(composite, 2); // yantzi: artemis 6.0, at request of zOS team I am changing the system type and hostname - // to labels so they are clearer to read than non-editable entry fields + // to labels so they are clearer to read than non-editable entry fields + + // dwd: cannot set height hints on labels since that causes cut off text for large fonts used by those with impaired vision // System type String text = SystemWidgetHelpers.appendColon(SystemResources.RESID_CONNECTION_SYSTEMTYPE_READONLY_LABEL); Label label = SystemWidgetHelpers.createLabel(composite_prompts, text); GridData gd = new GridData(); -// gd.heightHint = LABEL_HEIGHT; label.setLayoutData(gd); label = SystemWidgetHelpers.createLabel(composite_prompts, connectorService.getHostType()); gd = new GridData(); -// gd.heightHint = LABEL_HEIGHT; label.setLayoutData(gd); // Host name text = SystemWidgetHelpers.appendColon(SystemResources.RESID_CONNECTION_HOSTNAME_READONLY_LABEL); label = SystemWidgetHelpers.createLabel(composite_prompts, text); gd = new GridData(); -// gd.heightHint = LABEL_HEIGHT; label.setLayoutData(gd); label = SystemWidgetHelpers.createLabel(composite_prompts, connectorService.getHostName()); gd = new GridData(); -// gd.heightHint = LABEL_HEIGHT; label.setLayoutData(gd); // UserId