--- deliantra/Deliantra-Client/DC/UI.pm 2006/04/12 00:36:13 1.80 +++ deliantra/Deliantra-Client/DC/UI.pm 2006/04/12 00:40:45 1.81 @@ -943,6 +943,7 @@ $self->{layout}->set_markup ($text); delete $self->{texture}; +# $self->{w} = $self->{h} = -1; $self->update; } @@ -985,7 +986,7 @@ my $tex = $self->{texture} ||= do { $self->{layout}->set_width ($self->{w}); - $self->{layout}->set_height (List::Util::min $self->{h}, $self->{height}); + $self->{layout}->set_height (List::Util::min $self->{h} - $self->{padding} * 2, $self->{height}); new_from_layout CFClient::Texture $self->{layout} };