Sha256: 42b78b63c0ac4698878fc249ae43632e498de907b6234898f8e3948cc945dda0

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

module CyberarmEngine
  class Element
    class Flow < Container
      def layout
        @children.each do |child|
          if fits_on_line?(child)
            position_on_current_line(child)
          else
            position_on_next_line(child)
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cyberarm_engine-0.14.0 lib/cyberarm_engine/ui/elements/flow.rb