jstrachan    2003/02/01 03:22:23

  Modified:    jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt
                        SwtTagLibrary.java WidgetTag.java
  Log:
  Patched the default style to be SWT.NULL for composites as per Dag Øyvind Liodden's 
suggestion.
  
  Revision  Changes    Path
  1.4       +1 -1      
jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt/SwtTagLibrary.java
  
  Index: SwtTagLibrary.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt/SwtTagLibrary.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SwtTagLibrary.java        31 Jan 2003 17:16:16 -0000      1.3
  +++ SwtTagLibrary.java        1 Feb 2003 11:22:23 -0000       1.4
  @@ -193,7 +193,7 @@
        * Register a widget tag for the given name
        */
       protected void registerWidgetTag(String name, Class widgetClass) {
  -        registerWidgetTag(name, widgetClass, SWT.DEFAULT);
  +        registerWidgetTag(name, widgetClass, SWT.NULL);
       }
       
       /**
  
  
  
  1.6       +1 -1      
jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt/WidgetTag.java
  
  Index: WidgetTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt/WidgetTag.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WidgetTag.java    31 Jan 2003 17:16:16 -0000      1.5
  +++ WidgetTag.java    1 Feb 2003 11:22:23 -0000       1.6
  @@ -86,7 +86,7 @@
       private static final Log log = LogFactory.getLog(WidgetTag.class);
   
       private Widget parent;
  -    private int style = SWT.DEFAULT; 
  +    private int style = SWT.NULL; 
       
       public WidgetTag(Class widgetClass) {
           super(widgetClass);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to