hedron-crystal / hedron

An extendable UI library in Crystal, with markup capabilities.
MIT License
85 stars 5 forks source link

Fixed grid.cr compilation errors #5

Closed FireG3cko closed 6 years ago

FireG3cko commented 6 years ago

align_x and align_y were being interpreted as symbols. They're now explicitly defined as Aligns. Also, @this is now casted to Control* using ui_control(), because the compiler was returning an error about it being a Grid pointer. grid_gallery.cr now successfully compiles on Linux.

hanyuone commented 6 years ago

Thanks for the PR!