Sha256: cac407b6af86c0594b5852d1cdbe111d75d00fd7e9d429634683cc32d5723d7c
Contents?: true
Size: 573 Bytes
Versions: 44
Compression:
Stored size: 573 Bytes
Contents
class KlondikeSolitaire module View class ActionPanel include Glimmer::UI::CustomWidget option :game body { composite { grid_layout(1, false) { margin_width 0 margin_height 0 } background :dark_green button { layout_data :center, :center, true, false text 'Restart Game' on_widget_selected do game.restart! end } } } end end end
Version data entries
44 entries across 44 versions & 1 rubygems