Sha256: db5fe1e6ebd2b4b9bfa40bcc86ed6a4977303c1c1f0bbe7adf86a69da12b3b8d

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 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 '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.pre12 samples/simple_font.rb