Sha256: 3144cafd2ba72986081bf7203bc5b5d79afa48ebc37fa2e52dcccc538ae02be8

Contents?: true

Size: 315 Bytes

Versions: 12

Compression:

Stored size: 315 Bytes

Contents

motion_require '../support/_key_value_store'
motion_require '../support/_padding_attribute'
class MPLabel < UILabel
  include MotionPrime::SupportKeyValueStore
  include MotionPrime::SupportPaddingAttribute

  def drawTextInRect(rect)
    rect = UIEdgeInsetsInsetRect(rect, padding_insets)
    super(rect)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
motion-prime-1.0.7 motion-prime/support/mp_label.rb
motion-prime-1.0.6 motion-prime/support/mp_label.rb
motion-prime-1.0.5 motion-prime/support/mp_label.rb
motion-prime-1.0.4 motion-prime/support/mp_label.rb
motion-prime-1.0.3 motion-prime/support/mp_label.rb
motion-prime-1.0.2 motion-prime/support/mp_label.rb
motion-prime-1.0.1 motion-prime/support/mp_label.rb
motion-prime-1.0.0 motion-prime/support/mp_label.rb
motion-prime-0.9.9.2 motion-prime/support/mp_label.rb
motion-prime-0.9.9.1 motion-prime/support/mp_label.rb
motion-prime-0.9.9 motion-prime/support/mp_label.rb
motion-prime-0.9.8 motion-prime/support/mp_label.rb