Sha256: e966d39456e40ee367cd18bf19faf2fe35e2262a42318c12b2fbdd7aad9e2bd0

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

class RMXTableViewCellInnerContentView < RMXView
  RMX.new(self).weak_attr_accessor :cell
  attr_accessor :autoUpdateHeight

  def layoutSubviews
    s = super
    updateHeight! if @autoUpdateHeight
    s
  end

  def updateHeight!
    if c = cell
      c.updateHeight!
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rmx-0.6.2 lib/motion/RMXTableViewCellInnerContentView.rb
rmx-0.6.1 lib/motion/RMXTableViewCellInnerContentView.rb
rmx-0.6.0 lib/motion/RMXTableViewCellInnerContentView.rb