Spacing should be needed for text
This commit is contained in:
@@ -35,7 +35,7 @@ module Squib
|
|||||||
# @api public
|
# @api public
|
||||||
def text(opts = {})
|
def text(opts = {})
|
||||||
opts = needs(opts, [:range, :str, :font, :x, :y, :width, :height, :color, :wrap,
|
opts = needs(opts, [:range, :str, :font, :x, :y, :width, :height, :color, :wrap,
|
||||||
:align, :justify, :valign, :markup, :ellipsize, :hint, :layout])
|
:align, :justify, :spacing, :valign, :markup, :ellipsize, :hint, :layout])
|
||||||
opts[:range].each do |i|
|
opts[:range].each do |i|
|
||||||
@cards[i].text(opts[:str][i], opts[:font][i], opts[:color][i],
|
@cards[i].text(opts[:str][i], opts[:font][i], opts[:color][i],
|
||||||
opts[:x][i], opts[:y][i], opts[:width][i], opts[:height][i],
|
opts[:x][i], opts[:y][i], opts[:width][i], opts[:height][i],
|
||||||
|
|||||||
Reference in New Issue
Block a user