samples/custom-layout.yml in squib-0.0.5 vs samples/custom-layout.yml in squib-0.0.6
- old
+ new
@@ -1,5 +1,6 @@
+# Used in the layouts.rb sample in conjunction with custom-layout2.yml
frame:
x: 38
y: 38
width: 750
height: 1050
@@ -7,18 +8,18 @@
title:
x: 125
y: 50
width: 625
height: 100
- align: !ruby/symbol center #see http://www.yaml.org/YAML_for_ruby.html#symbols
- valign: !ruby/symbol middle
+ align: center #strings also work for most options
+ valign: !ruby/symbol middle #yaml also support symbols, see http://www.yaml.org/YAML_for_ruby.html#symbols
subtitle:
x: 150
y: 150
width: 575
height: 60
- align: !ruby/symbol center
- valign: !ruby/symbol middle
+ align: center
+ valign: middle
icon:
width: 125
height: 125
y: 250
icon_left: