Class: RMXTableViewCellInnerContentView
- Defined in:
- lib/motion/RMXTableViewCellInnerContentView.rb
Instance Attribute Summary collapse
-
#autoUpdateHeight ⇒ Object
Returns the value of attribute autoUpdateHeight.
Attributes inherited from RMXView
#reportSizeChanges, #updatedSize
Instance Method Summary collapse
Methods inherited from RMXView
create, #hitTest, #init, #prepare, #requiresConstraintBasedLayout, #rmx_dealloc, #setUserInteractionEnabled, #setup
Methods included from RMXSetAttributes
Methods included from RMXCommonMethods
#dealloc, #description, #inspect, #rmx_dealloc
Instance Attribute Details
#autoUpdateHeight ⇒ Object
Returns the value of attribute autoUpdateHeight.
3 4 5 |
# File 'lib/motion/RMXTableViewCellInnerContentView.rb', line 3 def autoUpdateHeight @autoUpdateHeight end |
Instance Method Details
#layoutSubviews ⇒ Object
5 6 7 8 9 |
# File 'lib/motion/RMXTableViewCellInnerContentView.rb', line 5 def layoutSubviews s = super updateHeight! if @autoUpdateHeight s end |
#updateHeight! ⇒ Object
11 12 13 14 15 |
# File 'lib/motion/RMXTableViewCellInnerContentView.rb', line 11 def updateHeight! if c = cell c.updateHeight! end end |