diff --git a/homebox.module b/homebox.module
index 75cd1ce..05864c0 100644
--- a/homebox.module
+++ b/homebox.module
@@ -274,6 +274,14 @@ function template_preprocess_homebox(&$variables) {
   }
   $variables['classes'] = implode(' ', $classes);
 
+  // Set widths if no custom widths set.
+  if (!isset($page->settings['widths'][1])) {
+    $width = 100 / $page->settings['regions'];
+    for ($i=1; $i <= $page->settings['regions']; $i++) {
+      $page->settings['widths'][$i] = (int)$width;
+    }
+  }
+
   return $variables;
 }
 
