Index: /trunk/web/addons/toga/index.php
===================================================================
--- /trunk/web/addons/toga/index.php (revision 170)
+++ /trunk/web/addons/toga/index.php (revision 171)
@@ -151,5 +151,5 @@
# Show grid.
$mygrid = ($self == "unspecified") ? "" : $self;
- $node_menu .= "$mygrid $meta_designator ";
+ $node_menu .= "$mygrid $meta_designator ";
$node_menu .= ">\n";
Index: /trunk/web/addons/toga/libtoga.php
===================================================================
--- /trunk/web/addons/toga/libtoga.php (revision 170)
+++ /trunk/web/addons/toga/libtoga.php (revision 171)
@@ -911,5 +911,6 @@
//printf( "imagecreate: %dx%d", ($nodes_per_row*$node_width), ($node_rows*$node_width) );
- $image = imageCreateTrueColor( ($nodes_per_row*$node_width)+1, ($node_rows*$node_width)+1 );
+ //$image = imageCreateTrueColor( ($nodes_per_row*$node_width)+1, ($node_rows*$node_width)+1 );
+ $image = imageCreateTrueColor( $max_width, ($node_rows*$node_width)+1 );
$colorwhite = imageColorAllocate( $image, 255, 255, 255 );
imageFill( $image, 0, 0, $colorwhite );