Sha256: a073b1351ea96d50d0dd8da775e6807118910173a2c8ba0ed3c22dac91812e1a

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

module CyberarmEngine
  class Element
    class Flow < Container
      include Common

      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.13.0 lib/cyberarm_engine/ui/elements/flow.rb