Title kind of says it all but I’m using YiiBooster version 3.11 and am having trouble reducing the width of the labels for a horizontal form. So, for example, how would I go about doing it with a control like this:
echo $form->dateRangeRow($model,'date',
array(
'htmlOptions'=>array('id'=>'date-picker',
'class' => 'span25'),
'options'=>array('daysOfWeekDisabled'=>0,
'minViewMode'=>1,
'format'=>'MM/DD/YYYY')
),
array(
'prepend' => '<i class="icon-calendar"></i>',
)
);
I’ve tried the labelOptions but it doesn’t seem to work so I figured i’m missing something.
Thanks.