Commits

Anonymous committed dff161e

added missing implicit Gap -> Group conversions

  • Participants
  • Parent commits c1610f6

Comments (0)

Files changed (1)

src/de/matthiasmann/twlscala/DialogLayout.scala

     implicit def makesequentialgroup(w:TWLWidget) = new SequentialGroupWrapper(createSequentialGroup) -- w
     implicit def makeparallelgroup(g:SequentialGroupWrapper) = new ParallelGroupWrapper(createParallelGroup) || g
     implicit def makesequentialgroup(g:ParallelGroupWrapper) = new SequentialGroupWrapper(createSequentialGroup) -- g
+    implicit def makeparallelgroup(g:Gap) = new ParallelGroupWrapper(createParallelGroup) || g
+    implicit def makesequentialgroup(g:Gap) = new SequentialGroupWrapper(createSequentialGroup) -- g
 
     def horizontalGroup = getHorizontalGroup
     def horizontalGroup_= (g:GroupWrapper) { setHorizontalGroup(g.underlaying) }