]> Creatis software - bbtk.git/blobdiff - packages/wxvtk/bbs/boxes/bbDoubleSlicer.bbs
*** empty log message ***
[bbtk.git] / packages / wxvtk / bbs / boxes / bbDoubleSlicer.bbs
index b779d44d69a2527612cf364e50814d4aa8007ca7..595744ff8cae322e29417d3663baefa888c450d4 100644 (file)
@@ -7,12 +7,15 @@ define DoubleSlicer wxvtk
  description "Simple viewer displaying the same slice of two images. The slice is controlled by a slider. See <a href='#exampleDoubleSlicer'>exampleDoubleSlicer.bbs</a>."
  author "laurent.guigues at creatis.insa-lyon.fr"
 
- new LayoutLine main
+ new LayoutSplit main
  new LayoutLine slicers
  new Viewer2D slicer1
  new Viewer2D slicer2
  new Slider slider
 
+ set main.Proportion 80
+ set slicers.Orientation HORIZONTAL
+
  connect slicers.Widget main.Widget1
  connect slicer1.Widget slicers.Widget1
  connect slicer2.Widget slicers.Widget2
@@ -39,6 +42,7 @@ define DoubleSlicer wxvtk
  input In1 slicer1.In "Left (or top) image"
  input In2 slicer2.In "Right (or bottom) image"
 
+ input WinDialog main.WinDialog "Execute in dialog mode"
  input WinTitle main.WinTitle "Title of the window"
  input WinWidth main.WinWidth "Width of the window"
  input WinHeight main.WinHeight "Width of the window"