demos\covergirls\grid_view.sdf
  1 GridPane {
  2   rows: 2
  3   rowSpacing: 0
  4   regions {
  5     {
  6       x: "0"
  7       y: "1"
  8       viewer {
  9         ListBox {
 10           name: "gridViewList"
 11           borders {
 12             none
 13           }
 14           verticalAlign: center
 15           horizontalAlign: center
 16           bgColor: "#262626"
 17           dataURL: "covers_grid.txt"
 18           listOrientation: horizontal_wrap
 19           itemDescription {
 20             iconPosition: top_center
 21             iconScaling: item_size
 22             horizontalAlign: center
 23             verticalAlign: top
 24             rendererClass: "CompositeRenderer"
 25             fgColor: "#ffffff"
 26             headerCell {
 27               borders {
 28                 line [ color="#272727", thickness="4", cornerArc="30" ]
 29               }
 30             } [ foreground="white" ]
 31             headerSelectionCell {
 32               bgImageURL: "lib:images/play_album.png" [ opacity="100", renderType="lower_middle" ]
 33               borders {
 34                 line [ color="textHighlight", thickness="4", cornerArc="30" ]
 35               }
 36             } [ foreground="white" ]
 37           }
 38           visibleRowCount: -1
 39           rowHeight: -1
 40           deferredImageIcon: "resource:icon_missing_artwork"
 41         } [ onMouseMoved="gridViewMouseMoved()", onMouseOut="gridViewMouseOut()", onConfigure="gridViewConfigureRenderer()" ,onClick="gridViewMouseClicked()"]
 42       }
 43     }
 44     {
 45       x: "0"
 46       y: "0"
 47       verticalFill: preferred
 48       viewer {
 49         Form {
 50           bgColor: "#7B7B7B, #4A4A4A, #353535, #323232"
 51           layout: forms
 52           rows: "4dlu,d,4dlu"
 53           columns: "d,d:g,d,d,d"
 54           widgets {
 55             {
 56               Navigator {
 57                 borders {
 58                   line_3d [ color="#1e1e1e", cornerArc="6" ]
 59                 }
 60                 horizontalAlign: center
 61                 font {
 62                   style: bold
 63                 }
 64                 fgColor: "#ffffff"
 65                 bgColor: "#7B7B7B, #4A4A4A, #353535, #323232"
 66                 bounds {
 67                   x: "1"
 68                   y: "1"
 69                 }
 70                 type: toggle
 71                 selectedIndex: 0
 72                 selectionPainter {
 73                   bgColor: "#727272, #1c1c1c, #030303, #000000"
 74                 }
 75                 actions {
 76                   {
 77                     value: "Album"
 78                   }
 79                   {
 80                     value: "Artists"
 81                   }
 82                   {
 83                     value: "Genres"
 84                   }
 85                   {
 86                     value: "Composers"
 87                   }
 88                 }
 89               }
 90             }
 91             {
 92               Slider {
 93                 bounds {
 94                   x: "3"
 95                   y: "1"
 96                 }
 97                 focusable: false
 98                 focusPainted: false
 99                 value: 150
100                 minValue: 64
101                 maxValue: 300
102                 minorTickSpacing: 15
103                 majorTickSpacing: 30
104                 leftIcon: "lib:images/zoom_min.png"
105                 rightIcon: "lib:images/zoom_max.png"
106                 thumbIcon: "lib:images/zoom_thumb.png"
107                 trackPainter {
108                   y: "3"
109                   height: "6"
110                   bgColor: "#141414, #242424"
111                   borders {
112                     line_3d [ color="#505050", cornerArc="4" ]
113                   }
114                 }
115               } [ onChange="gridViewSliderChange()" ]
116             }
117           }
118         }
119       }
120     }
121   }
122 }
123 
124