Skip to content

UI.NextRow

Name - Description Default Type
<input> The value is ignored. Any
<output> The output of this shard will be its input. Any

Moves to the next row in a grid layout.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(GFX.MainWindow
 :Contents
 (->
  (Setup
   (GFX.DrawQueue) >= .ui-draw-queue
   (GFX.UIPass .ui-draw-queue) >> .render-steps)
  (UI
   .ui-draw-queue
   (UI.CentralPanel
    (UI.Grid
     :Striped true
     :Contents
     (->
      "Col 1" (UI.Label)
      "Col 2" (UI.Label)
      "Col 3" (UI.Label)
      (UI.NextRow)
      "Hello" (UI.Label)
      "shards" (UI.Label)
      "!" (UI.Label)
      (UI.NextRow)
      "Lorem ipsum dolor sit amet" (UI.Label)
      "consectetur adipiscing elit" (UI.Label)
      "sed do eiusmod tempor" (UI.Label)))))

  (GFX.Render :Steps .render-steps)))