--- /home/joachim/public_html/drupal-5.1/custom modules/station/schedule/origXstation_schedule.module 
+++ /home/joachim/public_html/drupal-5.1/custom modules/station/schedule/station_schedule.module 
@@ -165,6 +165,16 @@
     '#title' => t('Scheduled node type'),
     '#value' => t('The schedule is using the %type node provided by the %module module.', array('%type' => 'program', '%module' => node_get_types('module', 'program'))),
   );
+  
+  $form['station_schedule_grid_size'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Schedule grid size'),
+    '#size' => 5, 
+    '#maxlength' => 5,  
+    '#default_value' => variable_get('station_schedule_grid_size', '60'),
+    '#description' => t("Height of an hour in the schedule grid, in pixels."),
+    '#required' => TRUE,
+  );  
 
   $form['module_cvs_id'] = array(
     '#type' => 'item',
@@ -914,7 +924,7 @@
 
 function theme_station_schedule_hour($hour) {
   $class = 'station-sch-box station-sch-hour';
-  $height = 60;
+  $height = variable_get('station_schedule_grid_size', '60');
   $output = "<div class='{$class}' style='height:{$height}px;'>";
   $output .= station_hour_name($hour);
   $output .= "</div>\n";
@@ -923,7 +933,7 @@
 
 function theme_station_schedule_spacer($start, $finish) {
   $class = 'station-sch-box station-sch-unscheduled';
-  $height = ($finish - $start);
+  $height = ($finish - $start) * variable_get('station_schedule_grid_size', '60') / 60;
   $output = "<div class='{$class}' style='height:{$height}px;'>";
   $output .= "<div class='station-sch-time'>". theme('station_hour_range', $start, $finish) ."</div>";
   $output .= "</div>\n";
@@ -932,7 +942,7 @@
 
 function theme_station_schedule_item($start, $finish, $program) {
   $class = 'station-sch-box station-sch-scheduled';
-  $height = ($finish - $start);
+  $height = ($finish - $start) * variable_get('station_schedule_grid_size', '60') / 60;
   $output = "<div class='{$class}' style='height:{$height}px;'>\n";
   $output .= "<div class='station-sch-time'>". theme('station_hour_range', $start, $finish) ."</div>";
   $output .= check_plain($program->title);
