javamanager/javainstaller/installerui/javasrc/com/nokia/mj/impl/installer/ui/eswt/ViewBase.java
equal
deleted
inserted
replaced
410 label.setImage(aImage); |
410 label.setImage(aImage); |
411 GridData gridData = new GridData(GridData.FILL_HORIZONTAL); |
411 GridData gridData = new GridData(GridData.FILL_HORIZONTAL); |
412 gridData.horizontalSpan = aColumns; |
412 gridData.horizontalSpan = aColumns; |
413 gridData.horizontalAlignment = SWT.CENTER; |
413 gridData.horizontalAlignment = SWT.CENTER; |
414 gridData.verticalAlignment = SWT.TOP; |
414 gridData.verticalAlignment = SWT.TOP; |
|
415 // This is to lower the image at the same level with the texts. |
|
416 // eSWT's Label adds extra space around texts but not around images. |
|
417 gridData.verticalIndent = iInstallerUi.iconLabelTopMargin(); |
415 label.setLayoutData(gridData); |
418 label.setLayoutData(gridData); |
|
419 label.setFont(iInstallerUi.getBoldFont()); |
416 return label; |
420 return label; |
417 } |
421 } |
418 |
422 |
419 /** |
423 /** |
420 * Creates a new label with security icon. |
424 * Creates a new label with security icon. |