Changeset 340 for trunk


Ignore:
Timestamp:
04/24/07 00:46:51 (17 years ago)
Author:
bastiaans
Message:

web/addons/job_monarch/libtoga.php:

  • fixed width sizing of small cluster image
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/libtoga.php

    r339 r340  
    13271327
    13281328                        $image_width    = $x_offset + ($node_width * ($x_max-$x_min+2));
    1329                         $image_width    = ($image_width < $this->width) ? $image_width : $this->width;
     1329                        if( $this->isBig() )
     1330                        {
     1331                                $image_width    = ($image_width < $this->width) ? $image_width : $this->width;
     1332                        }
     1333                        else if( $this->isSmall() )
     1334                        {
     1335                                $image_width    = $this->width;
     1336                        }
    13301337                        $image_height   = $y_offset + ($node_width * ($y_max-$y_min+2));
    13311338
Note: See TracChangeset for help on using the changeset viewer.