Fuss with edit list sizing a touch
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 3 May 2008 22:38:59 +0000 (22:38 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 3 May 2008 22:38:59 +0000 (22:38 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13082 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/options.php

index 1814e30364fffd43e90bf27d4e36134e67dcccc7..e05c408e3d09f45466fc3c23170f093bf6b79958 100644 (file)
@@ -208,7 +208,7 @@ class SquirrelOption {
         $this->refresh_level = $refresh_level;
         $this->possible_values = $possible_values;
         $this->htmlencoded = $htmlencoded;
-        $this->size = SMOPT_SIZE_MEDIUM;
+        $this->size = SMOPT_SIZE_NORMAL;
         $this->trailing_text = '';
         $this->yes_text = '';
         $this->no_text = '';
@@ -711,19 +711,21 @@ class SquirrelOption {
         global $oTemplate;
 
         switch ($this->size) {
-//FIXME: not sure about these sizes... seems like we could add another on the "large" side...
             case SMOPT_SIZE_TINY:
                 $height = 3;
                 break;
             case SMOPT_SIZE_SMALL:
                 $height = 8;
                 break;
-            case SMOPT_SIZE_LARGE:
+            case SMOPT_SIZE_MEDIUM:
                 $height = 15;
                 break;
-            case SMOPT_SIZE_HUGE:
+            case SMOPT_SIZE_LARGE:
                 $height = 25;
                 break;
+            case SMOPT_SIZE_HUGE:
+                $height = 40;
+                break;
             case SMOPT_SIZE_NORMAL:
             default:
                 $height = 5;