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) {
109
109
Image logoImage = null ;
110
110
/**
111
111
* @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"));
113
113
*/ {}
114
114
//logo.setImage(SWTResourceManager.getImage(About.class, "images/j2s-logo.gif"));
115
115
logo .setImage (logoImage );
@@ -131,7 +131,10 @@ private static void createContents(Shell aboutShell) {
131
131
java2scriptLabel .setFont (j2sFont );
132
132
133
133
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 );
135
138
java2scriptLabel .setText ("Java2Script" );
136
139
137
140
final Label java2scriptj2sPacemakerLabel = new Label (description , SWT .WRAP );
You can’t perform that action at this time.
0 commit comments