Method: CDK::SELECTION#updateViewWidth
- Defined in:
- lib/cdk/components/selection.rb
#updateViewWidth(widest) ⇒ Object
596 597 598 599 600 601 |
# File 'lib/cdk/components/selection.rb', line 596 def updateViewWidth(widest) @max_left_char = if @box_width > widest then 0 else widest - self.AvailableWidth end end |