Sha256: 5baada279207b22a00b992747af801ec5d28b692a138bc06e3e2a8172fed466f
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
# frozen_string_literal: true Shoes.app height: 200 do font File.join(Shoes::DIR, 'fonts/Coolvetica.ttf') stack do flow do title 'Good Question' para 'Arial (default)', left: 400, top: 20 end flow do title 'Good Question', font: 'Fira Mono' para 'Fira Mono', left: 400, top: 20 end flow do title 'Cool Question', font: 'Coolvetica' para 'Coolvetica', left: 400, top: 20 end flow do title 'Lucid Question', font: 'Lucida console' para 'Lucida Console', left: 400, top: 20 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.rc1 | samples/simple_font.rb |