From 50ddf0f5763deccb6d968658f810be25951ce74d Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Wed, 18 Mar 2015 23:52:39 -0400 Subject: [PATCH] Making the demo be left-aligned for now --- samples/text_options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/text_options.rb b/samples/text_options.rb index 5d3b2d7..31f6630 100644 --- a/samples/text_options.rb +++ b/samples/text_options.rb @@ -73,7 +73,7 @@ Squib::Deck.new(width: 825, height: 1125, cards: 3) do embed_text = 'Embedded icons! Take 1 :tool: and gain 2:health:. If Level 2, take 2 :tool:' text(str: embed_text, font: 'Sans 18', x: '1.8in', y: '2.5in', width: '0.85in', - align: :center, ellipsize: false) do |embed| + align: :left, ellipsize: false) do |embed| embed.svg key: ':tool:', width: 28, height: 28, file: 'spanner.svg' embed.svg key: ':health:', width: 28, height: 28, file: 'glass-heart.svg' end