examples/align_example.rb in fidgit-0.1.5 vs examples/align_example.rb in fidgit-0.1.6
- old
+ new
@@ -1,8 +1,8 @@
require_relative 'helpers/example_window'
# Change font and labels in the schema.
-Fidgit::Element.schema.merge_elements!(Element: { font_size: 24 }, Label: { background_color: "?dark_blue" })
+Fidgit::Element.schema.merge_elements!(Element: { font_height: 24 }, Label: { background_color: "?dark_blue" })
class ExampleState < Fidgit::GuiState
ROW_BACKGROUND = Gosu::Color.rgb(0, 100, 0)
CELL_BACKGROUND = Gosu::Color.rgb(100, 0, 0)
OUTER_BACKGROUND = Gosu::Color.rgb(100, 0, 100)
\ No newline at end of file