Sha256: 7c267ee550230fd33824c484a30d4b53fa6190400d2188638adc73bae971c139

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

require 'whirled_peas/utils/title_font'

require_relative 'container_settings'

module WhirledPeas
  module Settings
    class GridSettings < ContainerSettings
      attr_accessor :num_cols

      def set_scrollbar(*)
        raise NotImplementedError, 'Grids do not support scrollbars'
      end

      def sizing=(*)
        raise NotImplementedError, 'Grids only support the default sizing model'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
whirled_peas-0.8.0 lib/whirled_peas/settings/grid_settings.rb
whirled_peas-0.7.1 lib/whirled_peas/settings/grid_settings.rb
whirled_peas-0.7.0 lib/whirled_peas/settings/grid_settings.rb