File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ private static void createContents(Shell aboutShell) {
109109 Image logoImage = null ;
110110 /**
111111 * @j2sNative
112- * logoImage = new $wt.graphics.Image ($wt.widgets.Display.getCurrent (), this.getClass() .getResourceAsStream ("images/j2s-logo.gif"));
112+ * logoImage = new $wt.graphics.Image ($wt.widgets.Display.getCurrent (), $wt.widgets.Display .getResourceAsStream ("images/j2s-logo.gif"));
113113 */ {}
114114 //logo.setImage(SWTResourceManager.getImage(About.class, "images/j2s-logo.gif"));
115115 logo .setImage (logoImage );
@@ -131,7 +131,10 @@ private static void createContents(Shell aboutShell) {
131131 java2scriptLabel .setFont (j2sFont );
132132
133133 java2scriptLabel .setBackground (Display .getCurrent ().getSystemColor (SWT .COLOR_WHITE ));
134- java2scriptLabel .setLayoutData (new GridData (SWT .FILL , SWT .CENTER , true , false ));
134+ GridData gd_Java2Script = new GridData (SWT .FILL , SWT .CENTER , true , false );
135+ gd_Java2Script .verticalIndent = 6 ;
136+ gd_Java2Script .heightHint = 24 ;
137+ java2scriptLabel .setLayoutData (gd_Java2Script );
135138 java2scriptLabel .setText ("Java2Script" );
136139
137140 final Label java2scriptj2sPacemakerLabel = new Label (description , SWT .WRAP );
You can’t perform that action at this time.
0 commit comments