Add a minimum height to the Carousel due to further rendering problems. Fixes bug #11457.

This commit is contained in:
Colin Kuskie 2010-07-12 14:49:53 -07:00
parent 5ced1c3bcf
commit e66be2a5b3
5 changed files with 37 additions and 0 deletions

View file

@ -53,6 +53,13 @@ sub definition {
hoverHelp => $i18n->get('carousel slideWidth description'),
label => $i18n->get('carousel slideWidth label'),
},
slideHeight =>{
fieldType => "integer",
defaultValue => 0,
tab => "display",
hoverHelp => $i18n->get('carousel slideHeight description'),
label => $i18n->get('carousel slideHeight label'),
},
items =>{
noFormPost =>1,
fieldType =>'text',

View file

@ -20,6 +20,7 @@ our $HELP = {
],
},
{ 'name' => 'slideWidth', },
{ 'name' => 'slideHeight', },
],
related => [],
},

View file

@ -33,12 +33,30 @@ our $I18N = {
context => q|Description of the carousel template field, used as hover help.|
},
'carousel slideHeight label' => {
message => q|Carousel slide height|,
lastUpdated => 0,
context => q|Slide, one "frame" or "page" in the Carousel.|
},
'carousel slideHeight description' => {
message => q|Height in pixels. The Carousel will not automatically resize itself for content of various widths. Setting this width will help it render properly. If left with the default, 0, then the width of the Carousel is set by the width of the first element.|,
lastUpdated => 0,
context => q|Description of the carousel template field, used as hover help.|
},
'slideWidth' => {
message => q|The width set for each slide in the Carousel|,
lastUpdated => 0,
context => q|Description of the carousel template field, used as hover help.|
},
'slideHeight' => {
message => q|The height set for each slide in the Carousel|,
lastUpdated => 0,
context => q|Description of the carousel template field, used as hover help.|
},
'items label' => {
message => q|Items|,
lastUpdated => 0,