directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r477584 - /directory/sandbox/pamarcelot/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java
Date Tue, 21 Nov 2006 08:58:22 GMT
Author: pamarcelot
Date: Tue Nov 21 00:58:21 2006
New Revision: 477584

URL: http://svn.apache.org/viewvc?view=rev&rev=477584
Log:
Modifying the style of the buttons (SWT.PUSH looked ugly on Mac OS X).

Modified:
    directory/sandbox/pamarcelot/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java

Modified: directory/sandbox/pamarcelot/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java?view=diff&rev=477584&r1=477583&r2=477584
==============================================================================
--- directory/sandbox/pamarcelot/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java
(original)
+++ directory/sandbox/pamarcelot/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java
Tue Nov 21 00:58:21 2006
@@ -61,7 +61,7 @@
 
         // Welcome Label
         Label welcomeLabel = new Label( container, SWT.CENTER );
-        welcomeLabel.setFont( new Font( null, "Georgia", 13, SWT.BOLD ) ); //$NON-NLS-1$
+        welcomeLabel.setFont( new Font( null, "Georgia", 13, SWT.FLAT ) ); //$NON-NLS-1$
         welcomeLabel.setText( Messages.getString( "WelcomeView.Welcome_message" ) ); //$NON-NLS-1$
         welcomeLabel.setLayoutData( new GridData( GridData.FILL, GridData.FILL, true, true,
2, 1 ) );
 
@@ -84,7 +84,7 @@
         // Schemas Editor Plugin Image & Button
         Image schemasEditorImage = new Image( PlatformUI.getWorkbench().getDisplay(), getClass().getResourceAsStream(
             "ldapstudio_schemas-editor-plugin.png" ) ); //$NON-NLS-1$
-        Button schemasEditorButton = new Button( container, SWT.PUSH );
+        Button schemasEditorButton = new Button( container, SWT.FLAT );
         schemasEditorButton.setImage( schemasEditorImage );
         schemasEditorButton.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false
) );
         schemasEditorButton.addSelectionListener( new SelectionAdapter()
@@ -112,7 +112,7 @@
         // Apache Software Foundation Image
         Image asfLogoImange = new Image( PlatformUI.getWorkbench().getDisplay(), getClass().getResourceAsStream(
             "asf-logo.gif" ) ); //$NON-NLS-1$
-        Button asfLogoButton = new Button( container, SWT.PUSH );
+        Button asfLogoButton = new Button( container, SWT.FLAT );
         asfLogoButton.setImage( asfLogoImange );
         asfLogoButton.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false, 2,
1 ) );
         asfLogoButton.addSelectionListener( new SelectionAdapter()



Mime
View raw message