You are here

function views_photo_grid_plugin_style::options_form in Views Photo Grid 7

Renders the options form.

Overrides views_plugin_style::options_form

File

views/views_photo_grid_plugin_style.inc, line 23
Style plugin for Views Photo Grid.

Class

views_photo_grid_plugin_style
@file Style plugin for Views Photo Grid.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['grid_padding'] = array(
    '#type' => 'textfield',
    '#title' => t('Padding'),
    '#size' => 2,
    '#description' => t('The amount of padding in pixels in between grid items.'),
    '#default_value' => $this->options['grid_padding'],
    '#maxlength' => 2,
  );
}