SF.net SVN: supercollider: [7618] trunk/build/SCClassLibrary/crucial/Gui/ ActionButton.sc

View: New views
1 Messages — Rating Filter:   Alert me  

SF.net SVN: supercollider: [7618] trunk/build/SCClassLibrary/crucial/Gui/ ActionButton.sc

by cruxxial :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Revision: 7618
          http://svn.sourceforge.net/supercollider/?rev=7618&view=rev
Author:   cruxxial
Date:     2008-06-07 08:42:20 -0700 (Sat, 07 Jun 2008)

Log Message:
-----------
fixing bug due to operator order when passing in margin or gap

Modified Paths:
--------------
    trunk/build/SCClassLibrary/crucial/Gui/ActionButton.sc

Modified: trunk/build/SCClassLibrary/crucial/Gui/ActionButton.sc
===================================================================
--- trunk/build/SCClassLibrary/crucial/Gui/ActionButton.sc 2008-06-03 00:09:27 UTC (rev 7617)
+++ trunk/build/SCClassLibrary/crucial/Gui/ActionButton.sc 2008-06-07 15:42:20 UTC (rev 7618)
@@ -146,7 +146,7 @@
  bounds = bounds.moveTo(0, 0);
  };
  //view.decorator = FlowLayout(bounds,2@2/*GUI.skin.margin*/,4@4);
- view.decorator = FlowLayout(bounds,margin ? 2@0/*GUI.skin.margin*/,gap ? 4@4);
+ view.decorator = FlowLayout(bounds,margin ?? {2@0},gap ?? {4@4});
  autoRemoves = IdentitySet.new;
  }
  startRow {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
_______________________________________________
sc-dev mailing list
sc-dev@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-dev