--- deliantra/Deliantra-Client/DC/UI.pm 2007/07/21 13:33:10 1.391 +++ deliantra/Deliantra-Client/DC/UI.pm 2007/07/21 13:37:09 1.392 @@ -1642,7 +1642,7 @@ my @children = $self->children; # first pass, columns - for my $widget (sort { $b->{colspan} <=> $a->{colspan} } @children) { + for my $widget (sort { $a->{colspan} <=> $b->{colspan} } @children) { my ($c, $w, $cs) = @$widget{qw(col req_w colspan)}; my $sw = sum @w[$c .. $c + $cs - 1]; @@ -1653,7 +1653,7 @@ } # second pass, rows - for my $widget (sort { $b->{rowspan} <=> $a->{rowspan} } @children) { + for my $widget (sort { $a->{rowspan} <=> $b->{rowspan} } @children) { my ($r, $h, $rs) = @$widget{qw(row req_h rowspan)}; my $sh = sum @h[$r .. $r + $rs - 1];